OSDN Git Service

Fix bluetooth can't turn off during network reset (3/3)
authorweichinweng <weichinweng@google.com>
Thu, 5 Mar 2020 02:53:29 +0000 (10:53 +0800)
committerWeichin Weng <weichinweng@google.com>
Mon, 9 Mar 2020 05:09:29 +0000 (05:09 +0000)
Add onFactoryReset into IBluetoothManager interface.

Bug: 110181479
Test: manual
Change-Id: Ic36ffd63c376f84e3c9f0388820da86f63465c8f

binder/android/bluetooth/IBluetoothManager.aidl

index 8987898..491b7a8 100644 (file)
@@ -49,6 +49,8 @@ interface IBluetoothManager
     String getAddress();
     String getName();
 
+    boolean onFactoryReset();
+
     boolean isBleScanAlwaysAvailable();
     int updateBleAppCount(IBinder b, boolean enable, String packageName);
     boolean isBleAppPresent();