diff options
author | Thorsten Behrens <tbehrens@suse.com> | 2012-11-24 17:42:15 +0100 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2012-11-24 17:44:47 +0100 |
commit | 2739333e553a578bfdb4b20c7c6832297c87844d (patch) | |
tree | cd6ff478f9090d87d485a7887a59b1e48ec790c3 /android | |
parent | aaaf5126c6a465b2758c111f41bb4f55d39b3fe0 (diff) |
Prevent bluetooth list update from crashing incessantly.
Temp fix, need to fix the race here.
Change-Id: I95ef1ce206ba0e9059b59c10cf7a76d39df1b8b7
Diffstat (limited to 'android')
-rw-r--r-- | android/sdremote/src/org/libreoffice/impressremote/SelectorActivity.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/android/sdremote/src/org/libreoffice/impressremote/SelectorActivity.java b/android/sdremote/src/org/libreoffice/impressremote/SelectorActivity.java index 21596c09fcff..b5e75d489b74 100644 --- a/android/sdremote/src/org/libreoffice/impressremote/SelectorActivity.java +++ b/android/sdremote/src/org/libreoffice/impressremote/SelectorActivity.java @@ -260,6 +260,7 @@ public class SelectorActivity extends SherlockActivity { Server[] aServers = mCommunicationService.getServers(); +/* TODO: this crashes currently - some concurrent modification on mBluetoothServers // Bluetooth -- Remove old for (Entry<Server, View> aEntry : mBluetoothServers.entrySet()) { if (!Arrays.asList(aServers).contains(aEntry.getKey())) { @@ -268,6 +269,7 @@ public class SelectorActivity extends SherlockActivity { .getParent()); } } +*/ // Network -- Remove old for (Entry<Server, View> aEntry : mNetworkServers.entrySet()) { if (!Arrays.asList(aServers).contains(aEntry.getKey())) { @@ -381,4 +383,4 @@ public class SelectorActivity extends SherlockActivity { return super.onContextItemSelected(item); } } -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |