Loading src/com/android/bluetooth/map/BluetoothMapAccountLoader.java +2 −1 Original line number Diff line number Diff line Loading @@ -183,6 +183,7 @@ public class BluetoothMapAccountLoader { " - returning empty account list" ); return children; } finally { if (mProviderClient != null) mProviderClient.release(); } Loading src/com/android/bluetooth/map/BluetoothMnsObexClient.java +2 −2 Original line number Diff line number Diff line Loading @@ -153,7 +153,7 @@ public class BluetoothMnsObexClient { /** * Shutdown the MNS. */ public void shutdown() { public synchronized void shutdown() { /* should shutdown handler thread first to make sure * handleRegistration won't be called when disconnect */ Loading @@ -178,7 +178,7 @@ public class BluetoothMnsObexClient { * @param masId * @param notificationStatus */ public void handleRegistration(int masId, int notificationStatus){ public synchronized void handleRegistration(int masId, int notificationStatus){ if(D) Log.d(TAG, "handleRegistration( " + masId + ", " + notificationStatus + ")"); if(notificationStatus == BluetoothMapAppParams.NOTIFICATION_STATUS_NO) { Loading Loading
src/com/android/bluetooth/map/BluetoothMapAccountLoader.java +2 −1 Original line number Diff line number Diff line Loading @@ -183,6 +183,7 @@ public class BluetoothMapAccountLoader { " - returning empty account list" ); return children; } finally { if (mProviderClient != null) mProviderClient.release(); } Loading
src/com/android/bluetooth/map/BluetoothMnsObexClient.java +2 −2 Original line number Diff line number Diff line Loading @@ -153,7 +153,7 @@ public class BluetoothMnsObexClient { /** * Shutdown the MNS. */ public void shutdown() { public synchronized void shutdown() { /* should shutdown handler thread first to make sure * handleRegistration won't be called when disconnect */ Loading @@ -178,7 +178,7 @@ public class BluetoothMnsObexClient { * @param masId * @param notificationStatus */ public void handleRegistration(int masId, int notificationStatus){ public synchronized void handleRegistration(int masId, int notificationStatus){ if(D) Log.d(TAG, "handleRegistration( " + masId + ", " + notificationStatus + ")"); if(notificationStatus == BluetoothMapAppParams.NOTIFICATION_STATUS_NO) { Loading