Stanley Wang
61147df890
Fix the bug of showing the "Smooth display" item in the search result.
...
The controller can't be created when Settings Search gets the
non-indexable keys. So Settings Search can't get the correct value
from it.
The controller creates the Handler without the parameter in constructor
and causes the exception. It should use the main Looper of Context as
the parameter to create the Handler.
Fixes: 160179400
Test: run robotest and observe the search result
Change-Id: I6f9bf6de087ae776e8d531ff59d28966aee96b7b
2020-07-02 14:35:43 +08:00
Kevin Chyn
06804ebc57
Merge "Update settings together with frameworks/base" am: 2e7fc5a0d7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12053177
Change-Id: Ia4aa9f890ed345813d77e03b0c3917502fc44b99
2020-07-02 03:15:42 +00:00
Kevin Chyn
2e7fc5a0d7
Merge "Update settings together with frameworks/base"
2020-07-02 02:57:48 +00:00
Lyn Han
5de9b1e4f1
Fix sketchy bubble preference button
...
We were re-using the same "unselected" drawable for buttons with
different heights, which causes one height to override the other,
leading to unexpected drawable overlap and height/text-line mismatch.
Instead, use separate drawable per button.
Fixes: 154087375
Test: toggle between pref buttons in every font size
Change-Id: I5db6e1eb5150a72a0d8038b0840538a0982a5f67
2020-07-01 19:00:34 +00:00
Jason Chiu
ea689abbcd
Fix the exception of accessing an ArrayMap
...
- ArrayMap is not thread-safe.
- When accessing the map across threads at the same time, the map may
throw a ConcurrentModificationException.
- Convert the map to a synchronizedMap to avoid the exception.
Fixes: 159813482
Test: robotest
Change-Id: I3b8bdd435c7c546acf736fa8aafd2ceaed94d081
2020-07-01 10:42:25 +00:00
Kevin Chyn
4624a1ca5d
Update settings together with frameworks/base
...
Bug: 157790417
Test: SettingsRoboTests
Change-Id: Ib99d1cc2cb3196dd7231d0b78403427467a787b2
2020-07-01 00:08:40 -07:00
Arc Wang
9678fd0f54
Merge "Fix AlertActivity child objects dark theme problem" am: 7c3bb2fc9b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12041646
Change-Id: Ia1a1d23a91be4921abd7b6a9eb98723c6f79b511
2020-07-01 01:18:20 +00:00
Arc Wang
7c3bb2fc9b
Merge "Fix AlertActivity child objects dark theme problem"
2020-07-01 01:07:11 +00:00
Zhen Zhang
222be02b34
Fix bug: "Hotspot & Tethering" preference doesn't get updated
...
Aissign the value of mPrefrence when displayPrefrence() being called.
This can fix the preference doesn't get updated bug. Added test to
ensure it.
Bug: 160169699
Test: make RunSettingsRoboTests
ROBOTEST_FILTER=AllInOneTetherPreferenceController
Change-Id: If0e7ce421cc46cff2b92837d2d07ea0ff4dc5fd9
2020-06-30 15:11:02 -07:00
Victor Chang
b07e53c1c8
Move libcore.timezone to the i18n module - Final part
...
Bug: 141747409
Test: atest CtsLibcoreTestCases CtsLibcoreTestCases
Change-Id: I48a1f383403a553639f525ef92996292fab84c5e
2020-06-30 14:35:09 +01:00
Stanley Wang
4afa856688
Merge "Remove the prefix "Model:" from the summary of hardware." into rvc-d1-dev am: e86dd271da am: e9a33d48fb am: 1a5a780daa am: 4d4731474e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12034261
Change-Id: I37c7e64a780e94ca219a88893d6eb280b3d977e8
2020-06-30 11:25:45 +00:00
Stanley Wang
2e4bcea886
Merge "Remove the prefix "Model:" from the summary of hardware." into rvc-d1-dev am: e86dd271da am: ca05c7fabd am: 4ff2999126 am: fdb6ff079c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12034261
Change-Id: If8b92bd004f6bf9d841e19096eae8f2f6a293221
2020-06-30 11:25:26 +00:00
Stanley Wang
4d4731474e
Merge "Remove the prefix "Model:" from the summary of hardware." into rvc-d1-dev am: e86dd271da am: e9a33d48fb am: 1a5a780daa
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12034261
Change-Id: I8b62948b6585d338088cc62d97de0766a12c404f
2020-06-30 11:10:51 +00:00
Stanley Wang
fdb6ff079c
Merge "Remove the prefix "Model:" from the summary of hardware." into rvc-d1-dev am: e86dd271da am: ca05c7fabd am: 4ff2999126
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12034261
Change-Id: I35c7c18c370db76bd1d82f319003cb164d9b7246
2020-06-30 11:10:44 +00:00
Stanley Wang
1a5a780daa
Merge "Remove the prefix "Model:" from the summary of hardware." into rvc-d1-dev am: e86dd271da am: e9a33d48fb
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12034261
Change-Id: I50d3e9d474d87218e0ee687c5e8159e7afbaf626
2020-06-30 10:54:04 +00:00
Stanley Wang
4ff2999126
Merge "Remove the prefix "Model:" from the summary of hardware." into rvc-d1-dev am: e86dd271da am: ca05c7fabd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12034261
Change-Id: I0b35dde4ac0443eaeefaa5083eeafbc0e3e1a149
2020-06-30 10:53:47 +00:00
Stanley Wang
ca05c7fabd
Merge "Remove the prefix "Model:" from the summary of hardware." into rvc-d1-dev am: e86dd271da
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12034261
Change-Id: I132e88d5b1cb22db5042c0e66b6bc61ab30efcba
2020-06-30 10:41:41 +00:00
Stanley Wang
e9a33d48fb
Merge "Remove the prefix "Model:" from the summary of hardware." into rvc-d1-dev am: e86dd271da
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12034261
Change-Id: I032839c91c8951bec8014554b7cb7de5d73d0132
2020-06-30 10:41:39 +00:00
Stanley Wang
e86dd271da
Merge "Remove the prefix "Model:" from the summary of hardware." into rvc-d1-dev
2020-06-30 10:28:33 +00:00
Stanley Wang
db0687c447
Remove the prefix "Model:" from the summary of hardware.
...
Fixes: 159529327
Test: run robotest and observe the UI
Change-Id: I60f4a341b427e4b619a202a440f3f2554c562a27
2020-06-30 16:45:47 +08:00
Arc Wang
5a298fbde0
Fix AlertActivity child objects dark theme problem
...
In Settings, AlertActivity child objects use the theme
which is not compatible with dark theme.
Use @*android:style/Theme.DeviceDefault.Dialog.Alert.DayNight
to fix dark theme problem.
Bug: 157961813
Test: manual visual
Change-Id: I49decbd51a4346c65c9b40dbe056687337b4b385
2020-06-30 14:16:12 +08:00
Joshua Duong
e769d47825
Merge "[qrcode] Open any available camera if back camera isn't available." into rvc-dev am: 8776749e88 am: d6b68cb328 am: 3de3fa1f78 am: a75d3776d9 am: a5d11ba79b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12006805
Change-Id: I1d3b975dd23af094770161b58898818442986afe
2020-06-30 02:44:30 +00:00
Joshua Duong
febb2fac2a
Merge "[qrcode] Open any available camera if back camera isn't available." into rvc-dev am: 8776749e88 am: ba1e9c30c4 am: ac7e62af8d am: 797a0ccb3c am: 1f479e88f3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12006805
Change-Id: I956c7ec0fa17242d24f4743f8bd426032264b32c
2020-06-30 02:44:21 +00:00
Joshua Duong
1c4c478c27
Merge "[qrcode] Open any available camera if back camera isn't available." into rvc-dev am: 8776749e88 am: d6b68cb328 am: 8917715fca am: c4e8b3822b am: c811213dde
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12006805
Change-Id: I1b058688ff9ea3f2d1b06acef1c4aada33d43a8b
2020-06-30 02:44:09 +00:00
Joshua Duong
a5d11ba79b
Merge "[qrcode] Open any available camera if back camera isn't available." into rvc-dev am: 8776749e88 am: d6b68cb328 am: 3de3fa1f78 am: a75d3776d9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12006805
Change-Id: Ib195752bff13c1bfeb819c638dfa4af744c81daa
2020-06-30 02:31:10 +00:00
Joshua Duong
1f479e88f3
Merge "[qrcode] Open any available camera if back camera isn't available." into rvc-dev am: 8776749e88 am: ba1e9c30c4 am: ac7e62af8d am: 797a0ccb3c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12006805
Change-Id: I553fbfa303bf0a2e32f26291245ba31d10d54231
2020-06-30 02:31:02 +00:00
Joshua Duong
c811213dde
Merge "[qrcode] Open any available camera if back camera isn't available." into rvc-dev am: 8776749e88 am: d6b68cb328 am: 8917715fca am: c4e8b3822b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12006805
Change-Id: I60a80788887e25d1296bffd3aff200763b6c8678
2020-06-30 02:30:37 +00:00
Joshua Duong
a75d3776d9
Merge "[qrcode] Open any available camera if back camera isn't available." into rvc-dev am: 8776749e88 am: d6b68cb328 am: 3de3fa1f78
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12006805
Change-Id: I3ba32c3a9ffa30be8456a2f4690a15af7726b314
2020-06-30 02:18:37 +00:00
Joshua Duong
797a0ccb3c
Merge "[qrcode] Open any available camera if back camera isn't available." into rvc-dev am: 8776749e88 am: ba1e9c30c4 am: ac7e62af8d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12006805
Change-Id: I0d4d420daa588a2179038c9d1bece939226ccb82
2020-06-30 02:18:12 +00:00
Joshua Duong
c4e8b3822b
Merge "[qrcode] Open any available camera if back camera isn't available." into rvc-dev am: 8776749e88 am: d6b68cb328 am: 8917715fca
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12006805
Change-Id: I2f1bdd4b0bf84c11349da6f234ffca9ae9874b70
2020-06-30 02:18:01 +00:00
Joshua Duong
ac7e62af8d
Merge "[qrcode] Open any available camera if back camera isn't available." into rvc-dev am: 8776749e88 am: ba1e9c30c4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12006805
Change-Id: Id96ff4092b01f68de14c859461e2cf82717694c8
2020-06-30 02:08:09 +00:00
Joshua Duong
3de3fa1f78
Merge "[qrcode] Open any available camera if back camera isn't available." into rvc-dev am: 8776749e88 am: d6b68cb328
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12006805
Change-Id: I0e614ceae85cc87efc4e26a4d8a277b52b582fb6
2020-06-30 02:07:54 +00:00
Joshua Duong
8917715fca
Merge "[qrcode] Open any available camera if back camera isn't available." into rvc-dev am: 8776749e88 am: d6b68cb328
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12006805
Change-Id: I8f07e53a674a9494a7148dcee9e9bf45db097330
2020-06-30 02:07:53 +00:00
Joshua Duong
ba1e9c30c4
Merge "[qrcode] Open any available camera if back camera isn't available." into rvc-dev am: 8776749e88
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12006805
Change-Id: Id03f133b8480af4f1febe9cbf7b9024896ba67b1
2020-06-30 01:52:18 +00:00
Joshua Duong
d6b68cb328
Merge "[qrcode] Open any available camera if back camera isn't available." into rvc-dev am: 8776749e88
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12006805
Change-Id: Ic5de5436b1386028a26f121d8d857d27e7aebece
2020-06-30 01:51:47 +00:00
Joshua Duong
8776749e88
Merge "[qrcode] Open any available camera if back camera isn't available." into rvc-dev
2020-06-30 01:41:14 +00:00
Kevin Chyn
351558fa0d
Merge "Update Settings together with generateChallenge/revokeChallenge" am: 74ed9014a8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11995819
Change-Id: I1c24145cc063f4aa84916418c8f1071e838d563f
2020-06-30 00:58:50 +00:00
Kevin Chyn
74ed9014a8
Merge "Update Settings together with generateChallenge/revokeChallenge"
2020-06-30 00:41:05 +00:00
Lucas Dupin
0f3983c713
Merge "Change the order of dark theme options to match night light" into rvc-dev am: 837bda1f25 am: 51aacb7752 am: 88a47d6bda am: 2fd9c7af96 am: 7f12f229c7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12006807
Change-Id: I5a5553eca9159959b2de9b61a4c78399a5eeba3e
2020-06-29 20:27:44 +00:00
Lucas Dupin
d9fd7c4e1f
Merge "Change the order of dark theme options to match night light" into rvc-dev am: 837bda1f25 am: 51aacb7752 am: d5fcde5f09 am: f96f125b61 am: fa6af0c5d9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12006807
Change-Id: I12fdeff28c8400708c814e9d6cb4d74702f5f30f
2020-06-29 20:13:16 +00:00
Lucas Dupin
4a7b4e9283
Merge "Change the order of dark theme options to match night light" into rvc-dev am: 837bda1f25 am: 1530c46690 am: e030668d6b am: 786a6dec8d am: 5b08b63c1d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12006807
Change-Id: I7064ebbf0321ca140810ae8a48261d0dde0014ba
2020-06-29 20:13:02 +00:00
Lucas Dupin
7f12f229c7
Merge "Change the order of dark theme options to match night light" into rvc-dev am: 837bda1f25 am: 51aacb7752 am: 88a47d6bda am: 2fd9c7af96
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12006807
Change-Id: I677bb4c975d93bea2042d817fbfe6e7ba4c17610
2020-06-29 19:34:17 +00:00
Lucas Dupin
fa6af0c5d9
Merge "Change the order of dark theme options to match night light" into rvc-dev am: 837bda1f25 am: 51aacb7752 am: d5fcde5f09 am: f96f125b61
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12006807
Change-Id: Iba7d98bfce2d8454cfe0b69b67937ffa15ae44cc
2020-06-29 19:34:08 +00:00
Lucas Dupin
5b08b63c1d
Merge "Change the order of dark theme options to match night light" into rvc-dev am: 837bda1f25 am: 1530c46690 am: e030668d6b am: 786a6dec8d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12006807
Change-Id: I3569252bdad698d8c07727da56779e0fb83a5bb4
2020-06-29 19:33:33 +00:00
Lucas Dupin
2fd9c7af96
Merge "Change the order of dark theme options to match night light" into rvc-dev am: 837bda1f25 am: 51aacb7752 am: 88a47d6bda
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12006807
Change-Id: I45a83fbbeb3cbaedf69a5c7d6f4d67885ad58524
2020-06-29 19:15:24 +00:00
Lucas Dupin
f96f125b61
Merge "Change the order of dark theme options to match night light" into rvc-dev am: 837bda1f25 am: 51aacb7752 am: d5fcde5f09
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12006807
Change-Id: I30c7cf15a5fc024539e87156dd410412c85ab7d9
2020-06-29 19:15:01 +00:00
Lucas Dupin
786a6dec8d
Merge "Change the order of dark theme options to match night light" into rvc-dev am: 837bda1f25 am: 1530c46690 am: e030668d6b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12006807
Change-Id: Ib094d6141f7d77f044be53a8cb80c2cd6334fc6a
2020-06-29 19:14:46 +00:00
Lucas Dupin
88a47d6bda
Merge "Change the order of dark theme options to match night light" into rvc-dev am: 837bda1f25 am: 51aacb7752
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12006807
Change-Id: I30f94c505b59e5b0e865f451a63b466bb1412111
2020-06-29 19:02:37 +00:00
Lucas Dupin
d5fcde5f09
Merge "Change the order of dark theme options to match night light" into rvc-dev am: 837bda1f25 am: 51aacb7752
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12006807
Change-Id: I402237ce71cf2084085d1375380c4aada6d8aa1a
2020-06-29 19:02:19 +00:00
Lucas Dupin
e030668d6b
Merge "Change the order of dark theme options to match night light" into rvc-dev am: 837bda1f25 am: 1530c46690
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12006807
Change-Id: I21875f9bac17a782d238f7515d9e84b36db15144
2020-06-29 19:01:03 +00:00