Commit Graph

5007 Commits

Author SHA1 Message Date
Jernej Virag
7a0e4ae189 Add sensitivity configuration to long press power dialog am: de2f00df41 am: a4034c602a am: 4ff3404ebf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15542611

Change-Id: I421bde212de03e3b09d33bc8488c2c2430795742
2021-08-19 15:42:04 +00:00
Jernej Virag
4ff3404ebf Add sensitivity configuration to long press power dialog am: de2f00df41 am: a4034c602a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15542611

Change-Id: I4dce1c3176544f7df08c4ef9b3d28daddcd5a3ac
2021-08-19 15:28:52 +00:00
Jernej Virag
a4034c602a Add sensitivity configuration to long press power dialog am: de2f00df41
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15542611

Change-Id: I0d94e4a5157dc18fdbe454fe0a3e24377dc78d53
2021-08-19 15:16:26 +00:00
Jernej Virag
de2f00df41 Add sensitivity configuration to long press power dialog
This gives the user the ability to configure the length of the long press power gesture. The configuration values are read from config.xml and can be customized per device.

Bug: 193792060
Test: Manual test on Pixel 6 and Pixel 4 hardware devices
Test: Unit tests with make -j64 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.gestures.*"
Change-Id: Ia6595c1337244b01e9c8b2ef04dd97a9a0f03de2
2021-08-18 19:41:10 -04:00
TreeHugger Robot
b1ca0b6db2 Merge "Move Automatic System Updates from Developer Options to System" into sc-qpr1-dev am: 190603f53d am: a513ecb2da am: 8fc64966fa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15552651

Change-Id: Ibc9082d528bbc161f0f8e6177feb6d4ac219eae6
2021-08-18 18:45:56 +00:00
TreeHugger Robot
8fc64966fa Merge "Move Automatic System Updates from Developer Options to System" into sc-qpr1-dev am: 190603f53d am: a513ecb2da
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15552651

Change-Id: I7abe37232b3d60328d1c67f36b61057ea2399b76
2021-08-18 18:30:59 +00:00
TreeHugger Robot
a513ecb2da Merge "Move Automatic System Updates from Developer Options to System" into sc-qpr1-dev am: 190603f53d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15552651

Change-Id: Ia854e365a828137bcc3f6d112695ed2b1c051313
2021-08-18 18:12:32 +00:00
TreeHugger Robot
190603f53d Merge "Move Automatic System Updates from Developer Options to System" into sc-qpr1-dev 2021-08-18 17:56:51 +00:00
Yomna Nasser
19c1eba133 Merge "Move "Allow 2G" controller under DisabledSubscriptionController." into sc-dev am: cf77b7a248 am: 87259ab2af am: da6c658b99
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15491273

Change-Id: I50a1f816db1831e0570c07878e963632c70c7d31
2021-08-17 00:56:17 +00:00
Yomna Nasser
4c7c958e02 Merge "Move "Allow 2G" controller under DisabledSubscriptionController." into sc-dev am: cf77b7a248 am: 862a35d7fb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15491273

Change-Id: I151a87339710d05d0f737b507ff911788b423455
2021-08-17 00:42:56 +00:00
Yomna Nasser
87259ab2af Merge "Move "Allow 2G" controller under DisabledSubscriptionController." into sc-dev am: cf77b7a248
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15491273

Change-Id: I04e70b72a0c2cd197ae993139c9fb60b01a07a23
2021-08-17 00:29:43 +00:00
Adam Bookatz
dc8a5ad008 Merge "Easy app-installing for Guest users" 2021-08-14 01:37:43 +00:00
Tsung-Mao Fang
74b1a46cb1 Move Automatic System Updates from Developer Options to System
- Move the preference to the system xml file.
- DisableAutomaticUpdatesPreferenceController should not
inherit from the developer preference controller now since it's not used
in developer page anymore. Instead, just use toggle preference
controller for changing the state.
- Rewrite the test cases based on new controller.

Test: The ui works well and search can navigate to correct path.
Fix: 196001125
Change-Id: Iaea3e11d9cdbfa073ebd41bc3c84356d564c7e71
2021-08-13 08:11:22 +00:00
Roshan Pius
2f28d8e3d0 Merge "Revert "UWB: Re-enable UWB toggle"" 2021-08-12 19:46:20 +00:00
Roshan Pius
2e593b3784 Revert "UWB: Re-enable UWB toggle"
This reverts commit 7437b1f07e.

Reason for revert: Reverting until root cause of b/196317865 is identified.

Bug: b/196317865
Test: Compiles
Change-Id: I6dfed998c4387a54dac8d41ed65c5a30752ed290
2021-08-12 17:05:18 +00:00
YUKAI HUNG
50ecf12ece Merge "Fix typo for Illustration Preference (picked from Wendy's patch)" into sc-v2-dev am: d7bf769cc4 am: cc29f09349
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15530295

Change-Id: I76802169c0f1a555862c4447b16c8b2a7355d30b
2021-08-12 06:10:24 +00:00
YUKAI HUNG
cc29f09349 Merge "Fix typo for Illustration Preference (picked from Wendy's patch)" into sc-v2-dev am: d7bf769cc4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15530295

Change-Id: I5fb53da6e34a89ed65d1abbcff0f7a6504ba6154
2021-08-12 06:01:16 +00:00
Wendy Sung
91f0c5938b Fix typo for Illustration Preference (picked from Wendy's patch)
Test: Manual Build
Bug: 194819372
Change-Id: Idbc6891dc1139227e5fb5585e2aadb717d5d6205
2021-08-12 04:01:17 +00:00
Adam Bookatz
64c668e7b5 Easy app-installing for Guest users
Allows an admin user to selectively install packages into a Guest user
by displaying a list of available packages that are installed in the
admin, but not in the Guest, and letting the admin choose to copy those
apps to the Guest.

Test: atest SettingsLibTests:com.android.settingslib.users.AppCopyingHelperTest

Test: Manual: install some apps in user 0, create a guest, uninstall
some system apps from it. Now, open this panel. Request some of those
apps be installed in the Guest and verify it worked.

Bug: 193281439

Change-Id: I4e6874a4ee93cd7bba96e1f6c8d04ed95873c1a2
2021-08-10 19:56:05 -07:00
Yuri Lin
22a4fc040f Move automatic rules ("Schedules") into general DND category.
Bug: 183707774
Test: manual
Change-Id: Iaab2f481efc17466d2701c148392684e803d710d
2021-08-10 14:29:49 -04:00
Yomna Nasser
e00b6cfa4c Move "Allow 2G" controller under DisabledSubscriptionController.
Bug: 195576795
Test: manual
Change-Id: Ib42df245394bfbebc832f421ebd6c49bc2dc88d4
2021-08-08 20:08:18 +00:00
Julia Reynolds
17dda0faec Merge "Rename RadioButtonPreference -> SelectorWithWidgetPreference." 2021-08-05 20:34:13 +00:00
Joy Babafemi
130a7228d6 Merge "UWB: Re-enable UWB toggle" 2021-08-03 04:14:34 +00:00
Jason Hsu
05c7ed1d05 Merge "Update the preview image in 'Accessibility button & gesture' page." into sc-v2-dev am: f38931fd98 am: 02990f7470
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15401732

Change-Id: I777d6dbba30b3da7308ce998e3aeefbbbd298bba
2021-08-02 06:34:11 +00:00
Jason Hsu
02990f7470 Merge "Update the preview image in 'Accessibility button & gesture' page." into sc-v2-dev am: f38931fd98
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15401732

Change-Id: I8e2444b9cb74262298dd290adeaf783198901cb1
2021-08-02 06:30:11 +00:00
Jason Hsu
f38931fd98 Merge "Update the preview image in 'Accessibility button & gesture' page." into sc-v2-dev 2021-08-02 06:25:41 +00:00
jasonwshsu
9ccb9f56ca Update the preview image in 'Accessibility button & gesture' page.
* Put images in drawable/ and drawable-night/

Fix: 193081959
Fix: 193081959
Test: atest AccessibilityButtonPreviewPreferenceControllerTest
Change-Id: If0700e285920686cea6a815877af71fe6652d711
2021-07-29 17:39:17 +08:00
Joy Babafemi
7437b1f07e UWB: Re-enable UWB toggle
Re-enabling only in master branch

Bug: 194945173
Test: manual
Change-Id: I399b6b262a80870f3f4014f3b66021b740518abd
2021-07-29 03:39:52 +00:00
Joe Bolinger
f70f34b63d Merge "Use RestrictedPreference for all biometric settings." into sc-dev am: 7e9077fd14 am: 046bad89bd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15394293

Change-Id: If4a680fbd11aee165d034210557cef75e20404a1
2021-07-27 17:59:12 +00:00
Joe Bolinger
ca784dd5df Merge "Use RestrictedPreference for all biometric settings." into sc-dev am: 7e9077fd14 am: 1841f0f132
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15394293

Change-Id: I9247aa39c6ca271175cd8634803935653aaf5e4e
2021-07-27 17:54:59 +00:00
Joe Bolinger
70e4c3474a Merge "Use RestrictedPreference for all biometric settings." into sc-dev am: 7e9077fd14
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15394293

Change-Id: I39c616c70076dd98e24d138a0459d4914511a677
2021-07-27 17:43:00 +00:00
Joe Bolinger
1841f0f132 Merge "Use RestrictedPreference for all biometric settings." into sc-dev am: 7e9077fd14
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15394293

Change-Id: I2c400fb7daffee7abf6e1df4a3636e593b13586e
2021-07-27 17:41:42 +00:00
Joe Bolinger
61d998406d Use RestrictedPreference for all biometric settings.
Fix hardcoded preference key in settings controller.

Fix: 194708564
Bug: 194246380
Test: manual
Test: make RunSettingsRoboTests
Change-Id: I86bdd40fd848c5ba2d39acfde4771f5969e640d1
2021-07-26 18:36:32 -07:00
Quang Luong
59e8268954 Merge "Rename Enhanced MAC Randomization to Non-Persistent" 2021-07-26 16:20:27 +00:00
TreeHugger Robot
92ce61ab64 Merge "[Provider Model] Set unsearchable for unpublished item" into sc-dev am: 7c55ea3fc0 am: abb9c18e1d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15360456

Change-Id: I0b5e2903e8a577014a9da246df2e92026df028d0
2021-07-23 14:06:35 +00:00
TreeHugger Robot
34ebe99eaa Merge "[Provider Model] Set unsearchable for unpublished item" into sc-dev am: 7c55ea3fc0 am: 2d7fa28db6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15360456

Change-Id: I5f68999b574a43104282b8be2e6277d3f2ffd8b0
2021-07-23 14:06:31 +00:00
TreeHugger Robot
abb9c18e1d Merge "[Provider Model] Set unsearchable for unpublished item" into sc-dev am: 7c55ea3fc0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15360456

Change-Id: I4634ef8270dae12ea4ba1da4da1eadc7671c9e39
2021-07-23 13:48:48 +00:00
TreeHugger Robot
b85bff0ec2 Merge "[Provider Model] Set unsearchable for unpublished item" into sc-dev am: 7c55ea3fc0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15360456

Change-Id: Ie5f1deb1df160f1791adcaf8c1ae8af1d3ac726f
2021-07-23 13:47:12 +00:00
Weng Su
faf97a4296 [Provider Model] Set unsearchable for unpublished item
Bug: 194465708
Test: manual test
make RunSettingsRoboTests ROBOTEST_FILTER=MobileNetworkSettingsTest

Change-Id: I024253079b25477bd7eb2d308ad69ce1d9158257
2021-07-23 17:13:30 +08:00
Quang Luong
88a091789b Rename Enhanced MAC Randomization to Non-Persistent
Enhanced MAC Randomization has been renamed to Non-Persistent MAC
Randomization, so this change should also be reflected in Settings code.

Bug: 162854429
Test: verify developer toggle for non-persistent MAC still worked
Change-Id: Iafdc72e63d9254e32036b491c2458fd5351e36e4
2021-07-22 16:02:37 -07: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
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
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
Yuri Lin
e9f13fbd5e Rename RadioButtonPreference -> SelectorWithWidgetPreference.
This change is to reduce ambiguity as we're adding the option to style the preference like a checkbox as well.

Bug: 190180868
Test: SelectorWithWidgetPreferenceTest, RunSettingsLibRoboTests
Change-Id: Ie414347bf67ed394ef495604890c5851fc42dbc7
2021-07-20 17:01:21 -04:00
Stanley Wang
2ffb606759 Merge "Fix the problem that the SIM status and IMEI after the "Build number"." into sc-dev am: 2ea54cc143 am: 8f5c440f4b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15270337

Change-Id: I0014a0bc7b4e07628b03c88c411d95fbc469268b
2021-07-19 02:41:28 +00:00
Stanley Wang
8f5c440f4b Merge "Fix the problem that the SIM status and IMEI after the "Build number"." into sc-dev am: 2ea54cc143
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15270337

Change-Id: Ia58371ef266b745efda8d896bd3283ca56ca95a9
2021-07-19 02:31:04 +00:00