OSDN Git Service

Replacing updateBleAppCount to enableBle and disableBle
authorUgo Yu <ugoyu@google.com>
Tue, 17 Mar 2020 11:52:41 +0000 (19:52 +0800)
committerUgo Yu <ugoyu@google.com>
Mon, 30 Mar 2020 01:41:29 +0000 (09:41 +0800)
Bug: 139454316
Test: enableBle() -> disableBle() and check Bluetooth is OFF.
Change-Id: Ifa0b26af7b5c1eef65658948cffe6e409a787344

binder/android/bluetooth/IBluetoothManager.aidl

index 491b7a8..e94fe64 100644 (file)
@@ -52,7 +52,8 @@ interface IBluetoothManager
     boolean onFactoryReset();
 
     boolean isBleScanAlwaysAvailable();
-    int updateBleAppCount(IBinder b, boolean enable, String packageName);
+    boolean enableBle(String packageName, IBinder b);
+    boolean disableBle(String packageName, IBinder b);
     boolean isBleAppPresent();
     boolean isHearingAidProfileSupported();