Commit Graph

9849 Commits

Author SHA1 Message Date
TreeHugger Robot
cbacb4aec0 Merge "Handle blobs and leases that never expire correctly." 2021-08-04 16:05:31 +00:00
Varun Shah
eefce6a1f3 Handle blobs and leases that never expire correctly.
Add logic to properly handle blobs and leases that never expire.

Also add the relevant strings required in this package.

Fixes: 194439893
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SharedDataPreferenceControllerTest
Test: manual (visual)
Change-Id: Ifeb216a92a3be8d1db3574b4f63e2d04adace4ea
2021-08-03 12:09:14 -07:00
alinasuarez
8073d4eb92 Job Scheduler TARE page implementation
A Job Scheduler policy page is needed in the TARE developer options
settings to allow developers to both view and edit the current values of
all the factors under the job scheduler policy. The page uses a dropdown
so that the user can easily switch between the different policies. For
the factors with subfactors, the user simply clicks on the factor and
the subfactors wil pop up under it.

Bug: 191877052

Test: Manual (open Settings > System > Developer Options > TARE >
JobScheduler and verify all factors are there)

Change-Id: Icea6cda5e4b59d1736f85defcb9532839c3720f5
2021-08-03 02:26:19 +00:00
alinasuarez
aef6ac2889 Alarm Manager policy TARE page implementation
An alarm manager policy page is needed in the TARE developer option
settings to allow developers to both view and edit the current values of
all the factors under the alarm manager policy. The page uses a dropdown
so that the user can easily switch between the different policies. For
the factors with subfactors, the user simply clicks on the factor and
the subfactors will pop up under it.

Bug: 191876714
Bug: 191876567

Test: Manual (open Settings > System > Developer Options > TARE > Alarm
Manger and verify all factors are there)

Change-Id: Ie036e26df80947d23041bedfd5b1385e48069b6b
2021-08-02 17:39:36 +00:00
TreeHugger Robot
637f826dcf Merge "TARE string clarification" 2021-07-30 14:55:51 +00:00
TreeHugger Robot
e5e712ab5d Merge "Update the "Location services" header to be sentence case" into sc-dev am: 68d15388f4 am: 9409d32ef7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15404706

Change-Id: I46111002cedfcc3c34e6ae291cdc95e21a7f4ddb
2021-07-29 15:33:25 +00:00
TreeHugger Robot
68d15388f4 Merge "Update the "Location services" header to be sentence case" into sc-dev 2021-07-29 15:06:45 +00:00
alinasuarez
1a075e874f TARE string clarification
Clarify the strings used for the TARE homepage. Update
comments so that the translators understand that TARE is not
translatable and that AlarmManager and JobScheduler are Android system
services.

Bug: 191876567

Test: Manual (open Settings > System > Developer Options > TARE and
verify tabs and menus are there)

Change-Id: I935cd0ab9e8e6e5591875a1e7f8ed9f58d8abd9c
2021-07-28 20:17:41 +00:00
Yu-Han Yang
1043fd1cf5 Update the "Location services" header to be sentence case
Bug: 191300716
Test: string update only
Change-Id: Ib1194847b9d2b817fa1b8581dc62cd2c1d85da26
2021-07-28 13:01:18 -07:00
SongFerngWang
7f5c984655 aggregate the items of network selection list
According to bug comment#44, modem only report one PLMN per RAT
for different cells reported for the same PLMN/RAT combination,
UI affregate those items.
Bug: 173387374
Test: atest NetworkSelectSettingsTest

Change-Id: I155abc8dda7c8ec42cf4fd677bd2aa99d1033ad1
Merged-In: I8e05b9f6784bad7f0de4e79cc6e707749745f0c1
2021-07-23 07:27:30 +00:00
TreeHugger Robot
7ca5f9d9e1 Merge "Add TARE button and homepage to developer options." 2021-07-22 22:21:42 +00:00
alinasuarez
6ffa9dad04 Add TARE button and homepage to developer options.
A TARE button is needed in the developer options in settings to allow
users and developers to change the default settings it will come with.
When clicked, it opens an activity of the TARE homepage with a toggle
and the two policies (Alarm Manager and Job Scheduler) to choose between. It also contains a revert to default settings button.

Bug: 191876567

Test: Manual (open Settings > System > Developer Options > TARE and
verify tabs and menus are there)

Change-Id: Id14bc9c1dcbaaf2aeb74ba7efb0168ab424f5d0c
2021-07-22 20:52:06 +00:00
SongFerng Wang
89b16b3690 Merge "aggregate the items of network selection list" 2021-07-22 19:54:25 +00:00
TreeHugger Robot
fd94b83aa5 Merge "Update accesibility button to suuport accessibility gesutre" into sc-v2-dev am: bd41311025 am: 73aa50eca6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15085892

Change-Id: Iaec6cc0a4a008e15c89844b120d29951b1fd1041
2021-07-22 19:26:26 +00:00
TreeHugger Robot
73aa50eca6 Merge "Update accesibility button to suuport accessibility gesutre" into sc-v2-dev am: bd41311025
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15085892

Change-Id: I2885e26d6ee4f7e323bf4eccd4f3fa27b608ac70
2021-07-22 19:12:07 +00:00
TreeHugger Robot
bd41311025 Merge "Update accesibility button to suuport accessibility gesutre" into sc-v2-dev 2021-07-22 18:54:00 +00:00
SongFerngWang
2868b4af7a aggregate the items of network selection list
According to bug comment#44, modem only report one PLMN per RAT
for different cells reported for the same PLMN/RAT combination,
UI affregate those items.
Bug: 173387374
Test: atest NetworkSelectSettingsTest

Change-Id: I8e05b9f6784bad7f0de4e79cc6e707749745f0c1
2021-07-23 01:07:04 +08:00
Betty Chang
1465b649df Merge "Change the Network preference summary for wifi option" 2021-07-22 04:02:27 +00:00
changbetty
1d37fc6daf Change the Network preference summary for wifi option
Bug:192987269
Test: Manual test
Test: make RunSettingsRoboTests
ROBOTEST_FILTER=NetworkProviderSettingsTest

Change-Id: I3892386f8fe2e5c3e29cd7e91f88db65c3693990
2021-07-22 03:25:21 +00:00
YUKAI HUNG
d7753f4c23 Merge "Remove items from not allowed show summary list (legacy rule)" into sc-dev 2021-07-21 13:07:19 +00:00
TreeHugger Robot
e6fad1ce8c Merge "Update dark theme battery info error text color" into sc-dev am: 501a4cea3b am: 7dab391b1c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15308397

Change-Id: I32875dfb34f1e487650ddb58fd58cde12eccb999
2021-07-21 11:15:03 +00:00
TreeHugger Robot
0d430952ff Merge "Update dark theme battery info error text color" into sc-dev am: 501a4cea3b am: f97a194881
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15308397

Change-Id: I75e4f8906245eb3c91469d58f05a034f917f6d3e
2021-07-21 11:08:18 +00:00
TreeHugger Robot
20a0b2ac2d Merge "Update dark theme battery info error text color" into sc-dev am: 501a4cea3b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15308397

Change-Id: I8004ff4a06c4f067dc21691f597cfc9788ed6d08
2021-07-21 11:01:26 +00:00
TreeHugger Robot
f97a194881 Merge "Update dark theme battery info error text color" into sc-dev am: 501a4cea3b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15308397

Change-Id: I4df788647ce68c6043b876345d4753f7fbae6555
2021-07-21 10:57:00 +00:00
TreeHugger Robot
501a4cea3b Merge "Update dark theme battery info error text color" into sc-dev 2021-07-21 10:47:56 +00:00
ykhung
09e1164c0c Remove items from not allowed show summary list (legacy rule)
Bug: 191991503
Test: make SettingsRoboTests
Change-Id: Ieadc97eddcbd149e04ec85477859a9b3ffd8f06b
(cherry picked from commit b6d95d1c4f)
2021-07-21 09:40:30 +00:00
TreeHugger Robot
213e00e060 Merge "Increase string length limit for summary of unrestricted data usage" 2021-07-20 02:36:12 +00:00
Edgar Wang
8f552fcf64 Merge "Find the double twist sensor using the type instead of the name" into sc-dev am: 6e972e81ef am: 0eb13d6df8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15270335

Change-Id: I4e18bd5223a249eeda86834e7c1d3216ca567a3b
2021-07-19 13:26:59 +00:00
Edgar Wang
d541f469fe Merge "Find the double twist sensor using the type instead of the name" into sc-dev am: 6e972e81ef am: 298bf4382c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15270335

Change-Id: I7231533791d654b186e5027ca39a0d47c6bbcc71
2021-07-19 13:26:18 +00:00
Edgar Wang
0eb13d6df8 Merge "Find the double twist sensor using the type instead of the name" into sc-dev am: 6e972e81ef
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15270335

Change-Id: Ibbc0b965e9b0676cefc78570f5ec46c6bbc30330
2021-07-19 13:12:40 +00:00
Edgar Wang
eff77ffd0d Merge "Find the double twist sensor using the type instead of the name" into sc-dev am: 6e972e81ef
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15270335

Change-Id: Ie95f0de5bd7ed35c1e3494e0823dd99a00032c9b
2021-07-19 13:11:44 +00:00
Weng Su
23f43d172c Increase string length limit for summary of unrestricted data usage
- Increase string length limit from 30 to 75

Bug: 191952712
Test: modify comment only, Verified the maximum length string in the UI.
Change-Id: I5c8e6e5cb34358280aa0c3594a75cd545c70a483
2021-07-19 18:25:01 +08:00
Menghan Li
a3240b854d Merge "Enlarge character limit: About autoclick (dwell timing)" into sc-v2-dev am: 6eb12c148d am: 6bb5b5f007
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15310719

Change-Id: I3756475e214901fa38bb99bbb2368e75939373c7
2021-07-19 09:51:49 +00:00
Menghan Li
6bb5b5f007 Merge "Enlarge character limit: About autoclick (dwell timing)" into sc-v2-dev am: 6eb12c148d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15310719

Change-Id: I40b1ef302e19fb787cd68b6146a927852011cf12
2021-07-19 09:43:00 +00:00
menghanli
029038845b Enlarge character limit: About autoclick (dwell timing)
Bug: 193799894
Test: Manual test
Change-Id: Id7daaa5fae0135422b3c9a9b1623cb7917a9d37d
2021-07-19 11:24:05 +08:00
Menghan Li
5cdaaed04c Merge "Provides TC ID for shortcut title in AccessibilityShortcutPreferenceFragment" into sc-v2-dev am: 77b8431156 am: 7c011ae5c0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15297637

Change-Id: Ib1bbfc97929be4de656a70e1afa0e353c5ac6c88
2021-07-16 06:20:43 +00:00
Wesley.CW Wang
7e9fdf69a4 Update dark theme battery info error text color
screenshot: https://screenshot.googleplex.com/8UyMj5q7tLJ2uA8.png

Bug: 187611525
Test: make SettingsRoboTests
Change-Id: Iefec51d9ca6d27c9173af0756301f4278e928433
2021-07-16 14:17:46 +08:00
Menghan Li
7c011ae5c0 Merge "Provides TC ID for shortcut title in AccessibilityShortcutPreferenceFragment" into sc-v2-dev am: 77b8431156
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15297637

Change-Id: I81c5f633fb3c1f94056136777fab23b0ab97d6eb
2021-07-16 06:08:25 +00:00
Menghan Li
77b8431156 Merge "Provides TC ID for shortcut title in AccessibilityShortcutPreferenceFragment" into sc-v2-dev 2021-07-16 05:54:31 +00:00
Edgar Wang
8fc818709d Find the double twist sensor using the type instead of the name
Bug: 192565190
Test: manual & robotest
Change-Id: Ib2b4b39f75667700c503b49f114887a61f7603a6
2021-07-16 04:12:41 +00:00
Beth Thibodeau
fb3af25ce1 Merge "Remove lockdown toggle" into sc-dev am: 20e57d33ff
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15290234

Change-Id: I004edf20fb3ecbc7f169a0105516f78cc542f841
2021-07-16 02:01:22 +00:00
Beth Thibodeau
f77c705e4b Merge "Remove lockdown toggle" into sc-dev am: 20e57d33ff am: 97b8a6409d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15290234

Change-Id: I0770404823036e30f4e38cf8ff298b90d78e34a6
2021-07-15 23:10:52 +00:00
Beth Thibodeau
3ebe4c9bc2 Merge "Remove lockdown toggle" into sc-dev am: 20e57d33ff am: b65c1ace04
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15290234

Change-Id: I06c80d5f42986bdb6b2dd7818570e4f8eb4e1066
2021-07-15 23:10:12 +00:00
Beth Thibodeau
97b8a6409d Merge "Remove lockdown toggle" into sc-dev am: 20e57d33ff
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15290234

Change-Id: I49989ad03fa694d188865a9d13a0cf9b0c58134a
2021-07-15 22:54:20 +00:00
menghanli
6c7b52b703 Provides TC ID for shortcut title in AccessibilityShortcutPreferenceFragment
Goal: Improve readability which is a bit difficult because of string concatenation for accurate translation.
Root cause: In some locales, framework features name would be a word rather than a product name. Hence it need to be in the different position in a sentence.
Solution: Use whole sentence to translate instead of concatenating the string could solve this issue.

Bug: 185478543
Test: Manually testing
Change-Id: Iced1fe7db81e4e78ddfed30ab947d449b5f9c735
2021-07-15 18:10:50 +08:00
menghanli
c472d0277f Update accesibility button to suuport accessibility gesutre
1. Add gesture preference controller for gesture navigation
2. Auto update the preview illustarion when screen reader is on
3. Auto update accessibility button title for system navigation

Bug: 190563948
Test: make RunSettingsRoboTests ROBOTEST_FILTER=AccessibilityButtonGesturePreferenceControllerTest ROBOTEST_FILTER=AccessibilityButtonPreviewPreferenceControllerTest ROBOTEST_FILTER=AccessibilityLayerDrawableTest ROBOTEST_FILTER=AccessibilityPreferenceControllerTest ROBOTEST_FILTER=AccessibilityButtonFooterPreferenceControllerTest
Change-Id: Ifa98fc029430d86d3143133b3203b239340f2e41
2021-07-15 11:11:17 +08:00
Beth Thibodeau
647b3ef070 Remove lockdown toggle
This button will be on by default now, so remove the switch

Bug: 185618694
Test: build
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.display
Change-Id: Iecbeb590a5b750ec2fcf9c31fece5814241200b1
2021-07-14 19:39:30 -04:00
Peter Wang
ecdd0bc4be Merge "Add a cancel string for ToggleSubscriptionDialog to handle Tamil translation" 2021-07-14 17:12:08 +00:00
Menghan Li
1091dca586 Merge "Provides TC ID for accessibility framework feature for "about" and "learn more" part" into sc-v2-dev am: 7f907d35cd am: e8cba63525
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15175506

Change-Id: I4466b80721a6fe0356d120cef790dad6f6c86358
2021-07-14 12:12:06 +00:00
Menghan Li
e8cba63525 Merge "Provides TC ID for accessibility framework feature for "about" and "learn more" part" into sc-v2-dev am: 7f907d35cd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15175506

Change-Id: Ie28863b4fe41b5d4c4e83c541be546aab13b3f68
2021-07-14 11:59:46 +00:00