diff options
Diffstat (limited to 'android/sdremote/src/org/libreoffice/impressremote/communication/ServerFinder.java')
-rw-r--r-- | android/sdremote/src/org/libreoffice/impressremote/communication/ServerFinder.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/android/sdremote/src/org/libreoffice/impressremote/communication/ServerFinder.java b/android/sdremote/src/org/libreoffice/impressremote/communication/ServerFinder.java index 79839e779042..406383c3d71d 100644 --- a/android/sdremote/src/org/libreoffice/impressremote/communication/ServerFinder.java +++ b/android/sdremote/src/org/libreoffice/impressremote/communication/ServerFinder.java @@ -13,6 +13,7 @@ import org.libreoffice.impressremote.communication.Server.Protocol; import android.content.Context; import android.content.Intent; +import android.support.v4.content.LocalBroadcastManager; public class ServerFinder { @@ -169,7 +170,7 @@ public class ServerFinder { */ private void notifyActivity() { Intent aIntent = new Intent(CommunicationService.MSG_SERVERLIST_CHANGED); - mContext.sendBroadcast(aIntent); + LocalBroadcastManager.getInstance(mContext).sendBroadcast(aIntent); } public Collection<Server> getServerList() { |