From 7c4e04b187f2a067b2b9e4eee4cec3e0bb2e6554 Mon Sep 17 00:00:00 2001 From: timhypeng Date: Thu, 22 Sep 2022 07:10:20 +0000 Subject: [PATCH] single component HFP device has no battery info in the Device details page -get full summary when the metadata does not contain the battery information -remove unexpected "test_summary" text Bug: 237594992 Test: make -j50 RunSettingsGoogleRoboTests ROBOTEST_FILTER=AppBypassBroadcastReceiverTest Change-Id: I3e3682cf88cdd147d4b7cd68f37f5e33f01c788d --- res/layout/advanced_bt_entity_header.xml | 3 +-- .../bluetooth/AdvancedBluetoothDetailsHeaderController.java | 6 +++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/res/layout/advanced_bt_entity_header.xml b/res/layout/advanced_bt_entity_header.xml index 4aadad1fc34..6dd565f41cb 100644 --- a/res/layout/advanced_bt_entity_header.xml +++ b/res/layout/advanced_bt_entity_header.xml @@ -42,8 +42,7 @@ android:layout_marginTop="2dp" android:singleLine="false" android:ellipsize="marquee" - android:textDirection="locale" - android:text="test_summary"/> + android:textDirection="locale"/>