From b335ff696124a1353d14881ded06ccf41741f912 Mon Sep 17 00:00:00 2001 From: Ugo Yu Date: Tue, 17 Mar 2020 19:52:41 +0800 Subject: [PATCH] Replacing updateBleAppCount to enableBle and disableBle Bug: 139454316 Test: enableBle() -> disableBle() and check Bluetooth is OFF. Change-Id: Ifa0b26af7b5c1eef65658948cffe6e409a787344 --- binder/android/bluetooth/IBluetoothManager.aidl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); -- 2.11.0