Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1cf4c03f authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Tweak bluetooth text alignment"

parents 3487c163 f2ef447e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -45,6 +45,7 @@
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_gravity="center_vertical"
            android:paddingStart="16dp"
            android:paddingEnd="16dp"
            android:orientation="vertical">
@@ -57,8 +58,7 @@
                android:singleLine="false"
                android:ellipsize="marquee"
                android:gravity="start"
                android:textDirection="locale"
                android:paddingTop="8dp" />
                android:textDirection="locale" />

            <TextView
                android:id="@+id/install_type"
+0 −1
Original line number Diff line number Diff line
@@ -176,7 +176,6 @@ public abstract class BluetoothDeviceUpdater implements BluetoothCallback {
                    new BluetoothDevicePreference(mPrefContext, cachedDevice,
                            mShowDeviceWithoutNames);
            btPreference.setOnGearClickListener(mDeviceProfilesListener);
            btPreference.setSummary(R.string.summary_placeholder);
            mPreferenceMap.put(device, btPreference);
            mDevicePreferenceCallback.onDeviceAdded(btPreference);
        }
+0 −2
Original line number Diff line number Diff line
@@ -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);
    }