Tweak bluetooth text alignment

1. Remove the placeholder summary so it won't show blank summary
2. Update settings_entity_header to make text center_vertical,
so it could align with the icon.

Bug: 71742145
Test: Screenshot
Change-Id: I185114a4e0c8d996f218075a8633e802fabf3c66
This commit is contained in:
jackqdyulei
2018-01-16 19:40:36 -08:00
parent 80fa91891e
commit f2ef447e8e
3 changed files with 2 additions and 5 deletions

View File

@@ -95,8 +95,6 @@ public class BluetoothDeviceUpdaterTest {
final Preference preference = mBluetoothDeviceUpdater.mPreferenceMap.get(mBluetoothDevice);
assertThat(preference).isNotNull();
assertThat(preference.getSummary()).isEqualTo(
mContext.getString(R.string.summary_placeholder));
verify(mDevicePreferenceCallback).onDeviceAdded(preference);
}