Commit Graph

85210 Commits

Author SHA1 Message Date
ryanlwlin
7960b88481 Fix incorrect layout in RTL
Fix illustration and the textview alginment.
The imageview doesn't change the direction of the drawable,
so we change scale type based on layout direction.

Bug: 187526643
Test: manually test with with locale ur and en
Change-Id: Ie4544f0eb00309a6132e4b6d794ad2a76966133c
2021-05-12 15:32:49 +08:00
menghanli
11a0700847 Fix style in "Vision Settings" is inconsistent
Root cause: "Accessibility button" page apply BC style but other pages in SUW didn't. It causes page style inconsistency.
Solution: Don't show annotation link to make user open "Accessibility
button" page during SuW.

Bug: 187658718
Test: Manual testing
Change-Id: I6cc3da9a72b68829efd5537ae93fc329ef716fb4
2021-05-12 07:16:05 +00:00
TreeHugger Robot
3509ae87e4 Merge "[Provider Model] Show searching sub-title only when the Wi-Fi network is empty" into sc-dev am: a1bfc7daeb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14511218

Change-Id: I5685379c15000523eac23d2aa22c89be29d7b9e8
2021-05-12 07:13:03 +00:00
TreeHugger Robot
2d5890dbc6 Merge "[Provider Model] Show searching sub-title only when the Wi-Fi network is empty" into sc-dev am: a1bfc7daeb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14511218

Change-Id: Ief3921aa84a9245aae6f1d663f4904d97a9deb38
2021-05-12 07:09:15 +00:00
TreeHugger Robot
0f2524b6e3 Merge "[Provider Model] Show searching sub-title only when the Wi-Fi network is empty" into sc-dev am: a1bfc7daeb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14511218

Change-Id: I9b450f56fa4711a3578b216cb8a186daf5f56298
2021-05-12 07:09:15 +00:00
TreeHugger Robot
a1bfc7daeb Merge "[Provider Model] Show searching sub-title only when the Wi-Fi network is empty" into sc-dev 2021-05-12 06:54:02 +00:00
ykhung
5a783d0815 Clear static icon and label cache if ui mode is changed
we should clear icon cache if theme is changed between light and dark
theme, otherwise we may show incorrect styled icon for applications

Bug: 185187729
Test: make SettingsRoboTests
Change-Id: Ib06abe5a5345b2ea363a04ecaec886a4765fd8ab
2021-05-12 06:53:56 +00:00
YUKAI HUNG
0374df764a Merge "Should not show internal package entry in the usage list" into sc-dev am: 0d00ace0d2 am: 25ec1568ab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14511219

Change-Id: I32c00a9e8454aa4a50d8072dc139c2ebc6831e22
2021-05-12 06:48:03 +00:00
Kevin Han
8c32458b24 Merge "Fix "X unused apps" string to match w/ unused apps" into sc-dev am: 421c4e3efc am: db595f288e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14471254

Change-Id: I7ab3242f87f8a7b3e8474ed49794c99142d052ba
2021-05-12 06:47:58 +00:00
YUKAI HUNG
55f9c92e00 Merge "Should not show internal package entry in the usage list" into sc-dev am: 0d00ace0d2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14511219

Change-Id: I391e5b838a70c431ecf31b51f032d6eb274602a6
2021-05-12 06:31:57 +00:00
YUKAI HUNG
71a918dcf7 Merge "Should not show internal package entry in the usage list" into sc-dev am: 0d00ace0d2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14511219

Change-Id: Icad944723e99b0fb8186cedb4bcbe779b599219d
2021-05-12 06:30:08 +00:00
YUKAI HUNG
25ec1568ab Merge "Should not show internal package entry in the usage list" into sc-dev am: 0d00ace0d2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14511219

Change-Id: I8a30320b2f529c46bab0b588f65a780bb2083cba
2021-05-12 06:26:34 +00:00
Kevin Han
db595f288e Merge "Fix "X unused apps" string to match w/ unused apps" into sc-dev am: 421c4e3efc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14471254

Change-Id: Ie28358f8059a4a96662589c00080984fa3287124
2021-05-12 06:26:29 +00:00
YUKAI HUNG
0d00ace0d2 Merge "Should not show internal package entry in the usage list" into sc-dev 2021-05-12 06:24:55 +00:00
Kevin Han
b166743a41 Merge "Fix "X unused apps" string to match w/ unused apps" into sc-dev am: 421c4e3efc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14471254

Change-Id: Ic8bef3f39bfa849c595317477a8bc45def892dff
2021-05-12 06:22:29 +00:00
Kevin Han
dd601a2f78 Merge "Fix "X unused apps" string to match w/ unused apps" into sc-dev am: 421c4e3efc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14471254

Change-Id: I454a0a9e40007ffbcce78b5fbfb565373313ca6f
2021-05-12 06:22:29 +00:00
TreeHugger Robot
b3287c4461 Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-05-12 06:06:51 +00:00
Kevin Han
421c4e3efc Merge "Fix "X unused apps" string to match w/ unused apps" into sc-dev 2021-05-12 06:06:49 +00:00
menghanli
7979d9337a [Material Next] Support "Learn more" for help link
Allow CaptionManager, Magnification, Color correction, Color inversion,
Time to take action, and Autoclick.

Bug: 187671696
Test: make RunSettingsRoboTests -j52 ROBOTEST_FILTER=AccessibilityFooterPreferenceTest
Change-Id: I9d753243d4f61b6b3d58b50425b7a75a812a481d
2021-05-12 13:53:44 +08:00
ykhung
28605dcf16 Should not show internal package entry in the usage list
Bug: 187770266
Test: make SettingsRoboTests
Change-Id: I56897c8f91295ba2139b7fda8c59a863130ecd86
2021-05-12 05:17:22 +00:00
YUKAI HUNG
e19967797b Merge "Remove unnecessary converting us to ms" into sc-dev am: 899845b1ee am: b239ded129
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14503323

Change-Id: I6b602e1325c587cba9e775793c16ee18c53b546d
2021-05-12 05:05:52 +00:00
YUKAI HUNG
b239ded129 Merge "Remove unnecessary converting us to ms" into sc-dev am: 899845b1ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14503323

Change-Id: I329fab1dc7a960f729b207e64aa0160aaa32dcaa
2021-05-12 04:50:59 +00:00
YUKAI HUNG
5bcf8834f8 Merge "Remove unnecessary converting us to ms" into sc-dev am: 899845b1ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14503323

Change-Id: Ia9ffc5337a3e9ef8c9335b730b18d541e54a7c98
2021-05-12 04:49:04 +00:00
YUKAI HUNG
b6caad5bee Merge "Remove unnecessary converting us to ms" into sc-dev am: 899845b1ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14503323

Change-Id: I252e706637717539f4e4d203845d1979563c606c
2021-05-12 04:48:57 +00:00
TreeHugger Robot
36f714cbaf Merge "Add tests for guest user events" into sc-dev am: abd44a8a2e am: 20b1faef62
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14491474

Change-Id: I2084a716c327dd2507af7aebdf1c384c74aee890
2021-05-12 04:42:31 +00:00
TreeHugger Robot
8d4c4dc514 Merge "Fix color contrast problem for VPN page" into sc-dev am: bc4f3817da am: 32bc62503c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14468618

Change-Id: I0c4f706a3449730b47229556950f12b2a6d1712d
2021-05-12 04:41:20 +00:00
YUKAI HUNG
899845b1ee Merge "Remove unnecessary converting us to ms" into sc-dev 2021-05-12 04:34:57 +00:00
TreeHugger Robot
20b1faef62 Merge "Add tests for guest user events" into sc-dev am: abd44a8a2e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14491474

Change-Id: Icfaad10807e7d0b796bc6d7a6a7fb657a018097b
2021-05-12 04:28:43 +00:00
TreeHugger Robot
32bc62503c Merge "Fix color contrast problem for VPN page" into sc-dev am: bc4f3817da
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14468618

Change-Id: I97fe64353d08c6e9bf4289e780dd279d21fab080
2021-05-12 04:28:30 +00:00
TreeHugger Robot
001368fbbe Merge "Add tests for guest user events" into sc-dev am: abd44a8a2e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14491474

Change-Id: I6d6adbb8e3c22405b69eebfaf82fb09a91a46ec1
2021-05-12 04:27:23 +00:00
TreeHugger Robot
1b4b63a253 Merge "Add tests for guest user events" into sc-dev am: abd44a8a2e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14491474

Change-Id: I4b5d8b8b8784bbf837a5ba475958b07bf6a6914a
2021-05-12 04:27:05 +00:00
TreeHugger Robot
e45796e9af Merge "Fix color contrast problem for VPN page" into sc-dev am: bc4f3817da
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14468618

Change-Id: I2790dbda4aa23d537e7b6868ae611ad5ceba699d
2021-05-12 04:26:12 +00:00
TreeHugger Robot
d1e6384343 Merge "Fix color contrast problem for VPN page" into sc-dev am: bc4f3817da
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14468618

Change-Id: I7c422603416dbf48c878c4ad3593e9616fccab03
2021-05-12 04:25:53 +00:00
Weng Su
04ec0e0929 [Provider Model] Show searching sub-title only when the Wi-Fi network is empty
- Screenshot:
  https://screenshot.googleplex.com/7Z5r5AnpAZb6GfQ

Bug: 187886636
Test: manual test
atest -c InternetConnectivityPanelTest

Change-Id: Ib4769746819a5863e4a4981d0c73dda838ae3ae2
2021-05-12 04:09:49 +00:00
TreeHugger Robot
abd44a8a2e Merge "Add tests for guest user events" into sc-dev 2021-05-12 03:59:44 +00:00
TreeHugger Robot
bc4f3817da Merge "Fix color contrast problem for VPN page" into sc-dev 2021-05-12 03:50:14 +00:00
ykhung
dd35264f21 Keep selected time slot and expand state when device is rotate am: 9ef9e1ee0c am: 503d21a786
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14503317

Change-Id: I6cc6581ba2b4a8d81b47343dc9911214b25a020b
2021-05-12 03:43:10 +00:00
TreeHugger Robot
a6ff8a73c9 Merge "Set storage volume spinner not clickable when only 1 volume" into sc-dev am: 2853e766f5 am: 92bf5c4876
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14495884

Change-Id: Ic03dc14a4040135f2dc870e34de9a431faf3a70c
2021-05-12 03:43:04 +00:00
TreeHugger Robot
e77b5a8f0d Merge "Disable the info icon" into sc-dev am: 0fa1e491f8 am: 54d5defb28
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14493678

Change-Id: I3cd58963dd08a8e59ed8ab5480e688a6ccfcb58d
2021-05-12 03:42:53 +00:00
PETER LIANG
4077915d0d Merge "Provide a way to Accessibility button settings via intent." into sc-dev am: f2d70ab320 am: 9c8507fe11
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14008225

Change-Id: Ifc93024f28c0ec5c1148fbea5bd558ba066cf693
2021-05-12 03:42:13 +00:00
ykhung
503d21a786 Keep selected time slot and expand state when device is rotate am: 9ef9e1ee0c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14503317

Change-Id: Ifbd206432a0962e5c3e92a2c07b903c3d9fb0e05
2021-05-12 03:35:28 +00:00
TreeHugger Robot
92bf5c4876 Merge "Set storage volume spinner not clickable when only 1 volume" into sc-dev am: 2853e766f5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14495884

Change-Id: Ifba32b886f9f373d8b31d4422388c9e927a0398d
2021-05-12 03:35:14 +00:00
ykhung
c4f49166ed Keep selected time slot and expand state when device is rotate am: 9ef9e1ee0c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14503317

Change-Id: I9b3847568100eb6b92bdb8bc8491f941fce9fd9d
2021-05-12 03:34:46 +00:00
TreeHugger Robot
697d2da647 Merge "Set storage volume spinner not clickable when only 1 volume" into sc-dev am: 2853e766f5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14495884

Change-Id: I15c9766ba5c3283e651f67ddbef30b986d9ced3b
2021-05-12 03:34:25 +00:00
ykhung
8b8ee73bad Keep selected time slot and expand state when device is rotate am: 9ef9e1ee0c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14503317

Change-Id: Icfb7502b0e134abbfc30650452ee467be700c9cf
2021-05-12 03:34:00 +00:00
TreeHugger Robot
54d5defb28 Merge "Disable the info icon" into sc-dev am: 0fa1e491f8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14493678

Change-Id: I41e67e3ea6117f4f0f08f66813a8e476f88ffba1
2021-05-12 03:33:59 +00:00
TreeHugger Robot
0bd88cc1bb Merge "Set storage volume spinner not clickable when only 1 volume" into sc-dev am: 2853e766f5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14495884

Change-Id: Id2d5db1fbf87e87be4c5239eaea3da7ef9b4c594
2021-05-12 03:33:37 +00:00
TreeHugger Robot
e6239a7571 Merge "Disable the info icon" into sc-dev am: 0fa1e491f8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14493678

Change-Id: I5064619658380c0dee1b407b65fcda53dd6de254
2021-05-12 03:33:19 +00:00
TreeHugger Robot
e42b6ef1b1 Merge "Disable the info icon" into sc-dev am: 0fa1e491f8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14493678

Change-Id: I54f1206fd3cc91cc1249f58b735eaa36175097ad
2021-05-12 03:32:00 +00:00
ykhung
8343fe8b0a Remove unnecessary converting us to ms
The class "Estimate" has the menber estimateMillis and
the unit of batteryUsageStats.getBatteryTimeRemainingMs() is
millisecond,so converting from us to ms is unnecessary.

Bug: 187379252
Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.fuelgauge.BatteryInfoTest
Test: manual
Change-Id: If7c1092c1b7e5f74f8907ffe0248eccf3535ac0c
2021-05-12 03:29:23 +00:00