Merge "Use short summary in advanced BT header" into qt-dev

am: b6012f8d62

Change-Id: Ib222bc7eb04ce08942d7da6dfc5ef7dd07b7e129
This commit is contained in:
Lei Yu
2019-05-16 11:58:16 -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();