Header for hearing aids now listed in one summary
Root Cause: Change design in Android T to show left-side and right-side in one summary line. Bug: 224323976 Test: manual test Change-Id: Ia43b491d571787d356240593b221d6fe8dd1453c
This commit is contained in:
@@ -75,10 +75,8 @@ public class BluetoothDetailsHeaderController extends BluetoothDetailsController
|
||||
if (TextUtils.isEmpty(summaryText)) {
|
||||
// If first summary is unavailable, not to show second summary.
|
||||
mHeaderController.setSecondSummary((CharSequence)null);
|
||||
} else {
|
||||
// If both the hearing aids are connected, two device status should be shown.
|
||||
mHeaderController.setSecondSummary(mDeviceManager.getSubDeviceSummary(mCachedDevice));
|
||||
}
|
||||
|
||||
mHeaderController.setLabel(mCachedDevice.getName());
|
||||
mHeaderController.setIcon(pair.first);
|
||||
mHeaderController.setIconContentDescription(pair.second);
|
||||
|
Reference in New Issue
Block a user