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

This commit is contained in:
Lei Yu
2019-05-16 18:18:45 +00:00
committed by Android (Google) Code Review

View File

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