Merge "Use short summary in advanced BT header" into qt-dev am: b6012f8d62 am: d6bdbfabc7

am: bbf4219bf0

Change-Id: Iacaece69875fceebace363859292b560886be8bf
This commit is contained in:
Lei Yu
2019-05-17 05:32:47 -07:00
committed by android-build-merger

View File

@@ -149,7 +149,7 @@ public class AdvancedBluetoothDetailsHeaderController extends BasePreferenceCont
final TextView title = mLayoutPreference.findViewById(R.id.entity_header_title); final TextView title = mLayoutPreference.findViewById(R.id.entity_header_title);
title.setText(mCachedDevice.getName()); title.setText(mCachedDevice.getName());
final TextView summary = mLayoutPreference.findViewById(R.id.entity_header_summary); final TextView summary = mLayoutPreference.findViewById(R.id.entity_header_summary);
summary.setText(mCachedDevice.getConnectionSummary()); summary.setText(mCachedDevice.getConnectionSummary(true /* shortSummary */));
if (!mCachedDevice.isConnected()) { if (!mCachedDevice.isConnected()) {
updateDisconnectLayout(); updateDisconnectLayout();