Sync patches with LineageOMS changes
[GitHub/Stricted/android_vendor_extra.git] / patches / packages / apps / Settings / 0014-Settings-Expose-bluetooth-pin-confirm-dialog-text-co.patch
1 From f5699ec6bd810df751997db9f51732f702f11f28 Mon Sep 17 00:00:00 2001
2 From: SpiritCroc <spiritcroc@gmail.com>
3 Date: Sun, 22 Jan 2017 20:51:47 +0100
4 Subject: [PATCH 14/20] Settings: Expose bluetooth pin confirm dialog text
5 colors
6
7 Change-Id: I1e1eb2da23f2470a82574da7ef326d56f770eb95
8 ---
9 res/layout/bluetooth_pin_confirm.xml | 6 +++---
10 res/values/projekt_colors.xml | 5 +++++
11 2 files changed, 8 insertions(+), 3 deletions(-)
12
13 diff --git a/res/layout/bluetooth_pin_confirm.xml b/res/layout/bluetooth_pin_confirm.xml
14 index ebdf65d..6609a1b 100644
15 --- a/res/layout/bluetooth_pin_confirm.xml
16 +++ b/res/layout/bluetooth_pin_confirm.xml
17 @@ -40,7 +40,7 @@
18 android:text="@string/bluetooth_pairing_key_msg"
19 android:visibility="gone"
20 android:textAppearance="@android:style/TextAppearance.Material.Body1"
21 - android:textColor="@*android:color/secondary_text_material_light" />
22 + android:textColor="@color/bluetooth_pairing_caption" />
23
24 <TextView
25 android:id="@+id/pairing_subhead"
26 @@ -63,7 +63,7 @@
27 android:gravity="center_vertical"
28 android:text="@string/bluetooth_enter_passkey_msg"
29 android:textAppearance="@android:style/TextAppearance.Material.Subhead"
30 - android:textColor="@*android:color/secondary_text_material_light"
31 + android:textColor="@color/bluetooth_pairing_code_message"
32 android:visibility="gone" />
33
34 <CheckBox
35 @@ -73,7 +73,7 @@
36 android:layout_marginStart="@dimen/bluetooth_dialog_padding"
37 android:layout_marginEnd="@dimen/bluetooth_dialog_padding"
38 android:textAppearance="@android:style/TextAppearance.Material.Body1"
39 - android:textColor="@*android:color/secondary_text_material_light" />
40 + android:textColor="@color/bluetooth_phonebook_sharing_message_confirm_pin" />
41
42 </LinearLayout>
43
44 diff --git a/res/values/projekt_colors.xml b/res/values/projekt_colors.xml
45 index f37cc54..e0d3ab1 100644
46 --- a/res/values/projekt_colors.xml
47 +++ b/res/values/projekt_colors.xml
48 @@ -48,4 +48,9 @@
49 <color name="external_tile_icon_tint_color">?android:attr/colorAccent</color>
50 <!-- Settings switchbar background -->
51 <color name="switchbar_background_color">?android:attr/colorSecondary</color>
52 +
53 + <!-- Bluetooth pairing pin confirm dialog -->
54 + <color name="bluetooth_pairing_caption">@*android:color/secondary_text_material_light</color>
55 + <color name="bluetooth_pairing_code_message">@*android:color/secondary_text_material_light</color>
56 + <color name="bluetooth_phonebook_sharing_message_confirm_pin">@*android:color/secondary_text_material_light</color>
57 </resources>
58 --
59 2.9.3
60