commit | 4b7e06354d96ca8da9c18b300ba68f4dc51caa60 | [log] [tgz] |
---|---|---|
author | Alice Kuo <aliceypkuo@google.com> | Tue Mar 15 00:40:11 2022 +0800 |
committer | Alice Kuo <aliceypkuo@google.com> | Tue Mar 15 00:42:17 2022 +0800 |
tree | ad3c711039a5af8ffb5eb0f1db3abc5decc301af | |
parent | 3115ab2e3c7f4d9edc8fdf68bd6893fa7cf4a708 [diff] |
Remove AUDIO_LOCATION_INVALID from the flags The AUDIO_LOCATION_INVALID could not be in the flags. It would always get 0 as the following check flags & AUDIO_LOCATION_INVALID != 0 Bug: 224542167 Test: make build Change-Id: I44bbcaa1bb7f29c244be2fd960f024b7cc3eb79b
diff --git a/framework/java/android/bluetooth/BluetoothLeAudio.java b/framework/java/android/bluetooth/BluetoothLeAudio.java index 56dc9b6..f172261 100644 --- a/framework/java/android/bluetooth/BluetoothLeAudio.java +++ b/framework/java/android/bluetooth/BluetoothLeAudio.java
@@ -531,7 +531,6 @@ /** @hide */ @IntDef(flag = true, prefix = "AUDIO_LOCATION_", value = { - AUDIO_LOCATION_INVALID, AUDIO_LOCATION_FRONT_LEFT, AUDIO_LOCATION_FRONT_RIGHT, AUDIO_LOCATION_FRONT_CENTER,