From a7b89ba24bb5982ba1d2a528aeb5af26772cf73c Mon Sep 17 00:00:00 2001 From: changbetty Date: Tue, 29 Mar 2022 01:14:05 +0000 Subject: [PATCH] [LE Audio] Broadcast Sink UI - Add dialog for Broadcast and find broadcast source - Add Activity for find broadcast source Bug: 228274114 Test: Manual test Change-Id: I830efc3514fc42aaa4e53f491ed3a7459bd9bb41 Merged-In: I830efc3514fc42aaa4e53f491ed3a7459bd9bb41 --- AndroidManifest.xml | 32 ++++ res/drawable/broadcast_button_outline.xml | 42 ++++++ .../bluetooth_broadcast_entity_header.xml | 99 +++++++++++++ res/values/dimens.xml | 9 ++ res/values/strings.xml | 18 +++ res/values/styles.xml | 11 ++ .../bluetooth_find_broadcasts_fragment.xml | 35 +++++ src/com/android/settings/Settings.java | 2 + .../bluetooth/BluetoothBroadcastDialog.java | 139 ++++++++++++++++++ .../BluetoothFindBroadcastsFragment.java | 128 ++++++++++++++++ ...uetoothFindBroadcastsHeaderController.java | 131 +++++++++++++++++ .../core/gateway/SettingsGateway.java | 4 + 12 files changed, 650 insertions(+) create mode 100644 res/drawable/broadcast_button_outline.xml create mode 100644 res/layout/bluetooth_broadcast_entity_header.xml create mode 100644 res/xml/bluetooth_find_broadcasts_fragment.xml create mode 100644 src/com/android/settings/bluetooth/BluetoothBroadcastDialog.java create mode 100644 src/com/android/settings/bluetooth/BluetoothFindBroadcastsFragment.java create mode 100644 src/com/android/settings/bluetooth/BluetoothFindBroadcastsHeaderController.java diff --git a/AndroidManifest.xml b/AndroidManifest.xml index a2d80499901..bc491e2e7e6 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -3958,6 +3958,38 @@ android:value="true" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/layout/bluetooth_broadcast_entity_header.xml b/res/layout/bluetooth_broadcast_entity_header.xml new file mode 100644 index 00000000000..cc18d940adc --- /dev/null +++ b/res/layout/bluetooth_broadcast_entity_header.xml @@ -0,0 +1,99 @@ + + + + + + + + + +