diff options
author | Sravan Kumar V <sravankumar@codeaurora.org> | 2015-12-09 16:31:45 +0530 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2015-12-19 07:31:57 -0800 |
commit | 15ff96a50ca83602617999de833701a49e2df95e (patch) | |
tree | 26641b4755788fd4e72547130be5bf32f6c83d9b | |
parent | f7699509e9872be06414128eba660f743b4e7da9 (diff) | |
download | android_packages_apps_Bluetooth-15ff96a50ca83602617999de833701a49e2df95e.tar.gz android_packages_apps_Bluetooth-15ff96a50ca83602617999de833701a49e2df95e.tar.bz2 android_packages_apps_Bluetooth-15ff96a50ca83602617999de833701a49e2df95e.zip |
Bluetooth-OPP: Update notifications after batch canceled.
Update Bt Off notification after cancel active inbound and
Outbound notification without this we can't see success and
Failure notification after turn off BT.
Change-Id: Ib501eb1241668436dc0ff995e61885d481636258
-rw-r--r-- | src/com/android/bluetooth/opp/BluetoothOppService.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/bluetooth/opp/BluetoothOppService.java b/src/com/android/bluetooth/opp/BluetoothOppService.java index 080b220b6..aa6b051a2 100644 --- a/src/com/android/bluetooth/opp/BluetoothOppService.java +++ b/src/com/android/bluetooth/opp/BluetoothOppService.java @@ -259,6 +259,8 @@ public class BluetoothOppService extends Service { stopSelf(); } } + // Update Notification + mNotifier.updateNotifier(); break; case START_LISTENER: if (mAdapter.isEnabled()) { @@ -407,8 +409,6 @@ public class BluetoothOppService extends Service { break; case BluetoothAdapter.STATE_TURNING_OFF: if (V) Log.v(TAG, "Receiver DISABLED_ACTION "); - mNotifier.updateNotifier(); - //FIX: Don't block main thread /* mSocketListener.stop(); |