summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Android.mk1
-rw-r--r--core/java/android/bluetooth/IBluetoothHeadsetClientController.aidl25
2 files changed, 26 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 99e0c464bc95..f7bd9a1bf2c6 100644
--- a/Android.mk
+++ b/Android.mk
@@ -117,6 +117,7 @@ LOCAL_SRC_FILES += \
core/java/android/bluetooth/IBluetoothSap.aidl \
core/java/android/bluetooth/IBluetoothStateChangeCallback.aidl \
core/java/android/bluetooth/IBluetoothHeadsetClient.aidl \
+ core/java/android/bluetooth/IBluetoothHeadsetClientController.aidl \
core/java/android/bluetooth/IBluetoothGatt.aidl \
core/java/android/bluetooth/IBluetoothGattCallback.aidl \
core/java/android/bluetooth/IBluetoothGattServerCallback.aidl \
diff --git a/core/java/android/bluetooth/IBluetoothHeadsetClientController.aidl b/core/java/android/bluetooth/IBluetoothHeadsetClientController.aidl
new file mode 100644
index 000000000000..8f940f311762
--- /dev/null
+++ b/core/java/android/bluetooth/IBluetoothHeadsetClientController.aidl
@@ -0,0 +1,25 @@
+/*
+ * Copyright (C) 2015 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License
+ */
+
+package android.bluetooth;
+
+/**
+ * Controller to specify behavior of bluetooth headset client.
+ * @hide
+ */
+interface IBluetoothHeadsetClientController {
+ boolean allowAudioConnect();
+}