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

am: d6bdbfabc7

Change-Id: I74cc36427decbbdf7ccc58a2b0cb9d4cd2dcff48
This commit is contained in:
Lei Yu
2019-05-16 12:33:13 -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();