From: Ugo Yu Date: Tue, 17 Mar 2020 11:52:41 +0000 (+0800) Subject: Replacing updateBleAppCount to enableBle and disableBle X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=b335ff696124a1353d14881ded06ccf41741f912;p=android-x86%2Fsystem-bt.git Replacing updateBleAppCount to enableBle and disableBle Bug: 139454316 Test: enableBle() -> disableBle() and check Bluetooth is OFF. Change-Id: Ifa0b26af7b5c1eef65658948cffe6e409a787344 --- diff --git a/binder/android/bluetooth/IBluetoothManager.aidl b/binder/android/bluetooth/IBluetoothManager.aidl index 491b7a8ef..e94fe64b0 100644 --- a/binder/android/bluetooth/IBluetoothManager.aidl +++ b/binder/android/bluetooth/IBluetoothManager.aidl @@ -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();