Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 82ce1d19 authored by jasonwshsu's avatar jasonwshsu
Browse files

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
parent e05d71b7
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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);