From 88c6269a5878a847e6785f3cd87ec7f3ba715f64 Mon Sep 17 00:00:00 2001 From: Anthony Date: Thu, 20 Jan 2022 20:43:59 +0000 Subject: [PATCH] Add enum value for BT main / scanning toggle states Bug: 215574482 Test: compile Change-Id: Ic8160375f79acf4fb8b69e90478e86cb1cbf32d4 --- .../current/android/hardware/contexthub/Setting.aidl | 2 ++ contexthub/aidl/android/hardware/contexthub/Setting.aidl | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/contexthub/aidl/aidl_api/android.hardware.contexthub/current/android/hardware/contexthub/Setting.aidl b/contexthub/aidl/aidl_api/android.hardware.contexthub/current/android/hardware/contexthub/Setting.aidl index 41bc9ae881..d998478db6 100644 --- a/contexthub/aidl/aidl_api/android.hardware.contexthub/current/android/hardware/contexthub/Setting.aidl +++ b/contexthub/aidl/aidl_api/android.hardware.contexthub/current/android/hardware/contexthub/Setting.aidl @@ -39,4 +39,6 @@ enum Setting { WIFI_SCANNING = 3, AIRPLANE_MODE = 4, MICROPHONE = 5, + BT_MAIN = 6, + BT_SCANNING = 7, } diff --git a/contexthub/aidl/android/hardware/contexthub/Setting.aidl b/contexthub/aidl/android/hardware/contexthub/Setting.aidl index f2e55dbeb7..91d4c3f0be 100644 --- a/contexthub/aidl/android/hardware/contexthub/Setting.aidl +++ b/contexthub/aidl/android/hardware/contexthub/Setting.aidl @@ -39,4 +39,12 @@ enum Setting { * by CHRE. */ MICROPHONE, + /** + * The main BT toggle in the Android settings for BT connectivity. + */ + BT_MAIN, + /** + * The "BT scanning" setting for location scans. + */ + BT_SCANNING, }