Bill Yi
9dcae7e510
Import translations. DO NOT MERGE
...
Auto-generated-cl: translation import
Change-Id: I3a787cd8d7e3b2900c18e6e53ab9e3f92ea4430a
2020-07-03 07:05:39 -07:00
Jerry Chang
8ff7abbb31
New settings preference to swipe bottom for notification
...
Add new gesture toggle at:
Settings > System > Gesture > Swipe for notification
Bug: 154080211
Test: manual check Settings > System > Gesture > Swipe for notifications
Test: manual check it is disabled after One-handed mode toggled on
Test: make RunSettingsRoboTests ROBOTEST_FILTER=\
"SwipeBottomToNotificationSettingsTest"
Test: make RunSettingsRoboTests ROBOTEST_FILTER=\
"SwipeBottomToNotificationPreferenceControllerTest"
Change-Id: Iec18dfd323981ae7489d142b79c6035f3499eb91
2020-07-03 19:05:42 +08:00
vichang
25c5553ef8
Merge "Move libcore.timezone to the i18n module - Final part" am: 268371c44e
am: 7485036f53
am: bc7f639e15
am: 56a24f9ac1
am: f233240117
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1348663
Change-Id: I47f49f1928a26300ddaed83e0e67f95a0dc09d1f
2020-07-02 11:45:30 +00:00
vichang
f233240117
Merge "Move libcore.timezone to the i18n module - Final part" am: 268371c44e
am: 7485036f53
am: bc7f639e15
am: 56a24f9ac1
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1348663
Change-Id: Ib8b6ede837d8fd0b2d6c229f9bfa333050f3c892
2020-07-02 11:21:39 +00:00
vichang
56a24f9ac1
Merge "Move libcore.timezone to the i18n module - Final part" am: 268371c44e
am: 7485036f53
am: bc7f639e15
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1348663
Change-Id: I8d99d5ce1a84db343dac195a38c47041b7bf66f3
2020-07-02 11:03:47 +00:00
vichang
bc7f639e15
Merge "Move libcore.timezone to the i18n module - Final part" am: 268371c44e
am: 7485036f53
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1348663
Change-Id: I8e81b3d707bce016006bf0af1f75785ecd15648e
2020-07-02 10:50:06 +00:00
vichang
7485036f53
Merge "Move libcore.timezone to the i18n module - Final part" am: 268371c44e
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1348663
Change-Id: I745cd8bb0dc761d269e804ee871b249a157c4b6a
2020-07-02 10:38:54 +00:00
vichang
268371c44e
Merge "Move libcore.timezone to the i18n module - Final part"
2020-07-02 10:25:54 +00:00
Tim Peng
b7afaf5261
Adjust Slice title icon size on Output Switcher panel for new AndroidX library
...
-AndroidX library is updated and it is necessary to apply new rule.
-"iconSize" used to be the padding parameter, and it changes to be the
real size.
Bug: 160115814
Test: manual test
Change-Id: I556d297c95dc796e8c3200168a862806dd508a55
2020-07-02 08:12:46 +00:00
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
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
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
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
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
74ed9014a8
Merge "Update Settings together with generateChallenge/revokeChallenge"
2020-06-30 00:41:05 +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
Lucas Dupin
1530c46690
Merge "Change the order of dark theme options to match night light" into rvc-dev am: 837bda1f25
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12006807
Change-Id: Ie05cfa7cc0897e370c3ced865dceee0745b5533c
2020-06-29 18:48:39 +00:00
Lucas Dupin
51aacb7752
Merge "Change the order of dark theme options to match night light" into rvc-dev am: 837bda1f25
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12006807
Change-Id: I369b03f9371b0b8063f9f63b94f83b9b18555f4a
2020-06-29 18:48:17 +00:00