Update BT pairing dialog
1. Remove hardcoded color 2. Add taskAffinity for activity Fixes: 124953564 Fixes: 124958778 Test: Manual Change-Id: Id57fadc02e3c4fa3683632c0ad6a451117b732f1
This commit is contained in:
@@ -1874,7 +1874,8 @@
|
|||||||
<activity android:name=".bluetooth.BluetoothPairingDialog"
|
<activity android:name=".bluetooth.BluetoothPairingDialog"
|
||||||
android:excludeFromRecents="true"
|
android:excludeFromRecents="true"
|
||||||
android:windowSoftInputMode="stateVisible|adjustResize"
|
android:windowSoftInputMode="stateVisible|adjustResize"
|
||||||
android:theme="@style/Theme.AlertDialog">
|
android:theme="@style/Theme.AlertDialog"
|
||||||
|
android:taskAffinity=".bluetooth.BluetoothPairingDialog">
|
||||||
<intent-filter android:priority="1">
|
<intent-filter android:priority="1">
|
||||||
<action android:name="android.bluetooth.device.action.PAIRING_REQUEST" />
|
<action android:name="android.bluetooth.device.action.PAIRING_REQUEST" />
|
||||||
<category android:name="android.intent.category.DEFAULT" />
|
<category android:name="android.intent.category.DEFAULT" />
|
||||||
|
@@ -40,8 +40,7 @@
|
|||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:text="@string/bluetooth_pairing_key_msg"
|
android:text="@string/bluetooth_pairing_key_msg"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Body1"
|
android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Body1" />
|
||||||
android:textColor="@color/bluetooth_dialog_text_color" />
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/pairing_subhead"
|
android:id="@+id/pairing_subhead"
|
||||||
@@ -64,7 +63,6 @@
|
|||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:text="@string/bluetooth_enter_passkey_msg"
|
android:text="@string/bluetooth_enter_passkey_msg"
|
||||||
android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Subhead"
|
android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Subhead"
|
||||||
android:textColor="@color/bluetooth_dialog_text_color"
|
|
||||||
android:visibility="gone" />
|
android:visibility="gone" />
|
||||||
|
|
||||||
<CheckBox
|
<CheckBox
|
||||||
@@ -73,8 +71,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="@dimen/bluetooth_dialog_padding"
|
android:layout_marginStart="@dimen/bluetooth_dialog_padding"
|
||||||
android:layout_marginEnd="@dimen/bluetooth_dialog_padding"
|
android:layout_marginEnd="@dimen/bluetooth_dialog_padding"
|
||||||
android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Body1"
|
android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Body1" />
|
||||||
android:textColor="@color/bluetooth_dialog_text_color" />
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
@@ -16,8 +16,6 @@
|
|||||||
|
|
||||||
<resources>
|
<resources>
|
||||||
|
|
||||||
<color name="bluetooth_dialog_text_color">#8a000000</color>
|
|
||||||
|
|
||||||
<color name="crypt_keeper_clock_background">#ff9a9a9a</color>
|
<color name="crypt_keeper_clock_background">#ff9a9a9a</color>
|
||||||
<color name="crypt_keeper_clock_foreground">#ff666666</color>
|
<color name="crypt_keeper_clock_foreground">#ff666666</color>
|
||||||
<color name="crypt_keeper_clock_am_pm">#ff9a9a9a</color>
|
<color name="crypt_keeper_clock_am_pm">#ff9a9a9a</color>
|
||||||
|
Reference in New Issue
Block a user