Commit Graph

100713 Commits

Author SHA1 Message Date
TreeHugger Robot
ac5bdb033c Merge "Restrict WiFi network connection" into tm-dev am: 35484ee87a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17106546

Change-Id: Icc0a1a524902cb88327385273c6ef15c48f87d1f
2022-03-09 03:27:04 +00:00
TreeHugger Robot
35484ee87a Merge "Restrict WiFi network connection" into tm-dev 2022-03-09 03:03:05 +00:00
Yuri Lin
fb671e9b3a Merge "Make icons show up on DND bypassing apps page" into tm-dev am: 42e400e1cd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17105922

Change-Id: Ia14ce9ca9d50579f0b4eb090f0a3e03e24f1c0da
2022-03-08 23:03:45 +00:00
Yuri Lin
42e400e1cd Merge "Make icons show up on DND bypassing apps page" into tm-dev 2022-03-08 22:35:43 +00:00
Julia Reynolds
70d2250b94 Merge "Fix app notification toggle" into tm-dev am: d9b15d803d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17122328

Change-Id: Ifb975438756e2bd1080c38404f984b2b5c7a95d8
2022-03-08 21:12:20 +00:00
Julia Reynolds
d9b15d803d Merge "Fix app notification toggle" into tm-dev 2022-03-08 21:11:47 +00:00
Jernej Virag
b56f603f93 Merge "Add animation to button navigation settings page" into tm-dev am: 77c4aab5d5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17074572

Change-Id: I08364e3d3a936ba9f04d8371e88e169b4a9ef85b
2022-03-08 20:09:23 +00:00
TreeHugger Robot
17213596a7 Merge "Fix WhenToDreamPickerTest and re-enable." into tm-dev am: 9ceec097b1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17123847

Change-Id: Ia1d5a6a6c3331366505d471ce00fa730c98a6490
2022-03-08 20:08:58 +00:00
Jernej Virag
77c4aab5d5 Merge "Add animation to button navigation settings page" into tm-dev 2022-03-08 20:01:32 +00:00
Yuri Lin
e8e40609df Make icons show up on DND bypassing apps page
This change uses the app icon cache to either get the icon from cache or retrieve it on a background thread. The methods previously used to get app icons no longer work in T.

Bug: 222323742
Test: manual
Change-Id: I4960a9297d546cac088e5969a8903391ed994bd4
2022-03-08 14:57:54 -05:00
TreeHugger Robot
9ceec097b1 Merge "Fix WhenToDreamPickerTest and re-enable." into tm-dev 2022-03-08 19:44:26 +00:00
Lucas Silva
5d51ce5990 Merge "Add master toggle to enable/disable screen savers" into tm-dev am: b048c37062
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17073795

Change-Id: I7ff138626b93f227ca42546a2b3500d00b7d0f0b
2022-03-08 18:03:21 +00:00
Jernej Virag
69b895c892 Add animation to button navigation settings page
This animation was missing in the original changelist and has now been created by the UX team.

Bug: 191888710
Test: Physical device
Change-Id: Iefb3f0e80f4763f1358706e9dbc84a29e1f04b23
2022-03-08 17:59:56 +00:00
Lucas Silva
0abc02c446 Fix WhenToDreamPickerTest and re-enable.
The test was previously failing because it was passing a mock context
which didn't support all the operations of a real context.

Bug: 216036457
Test: make -j64 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.dream.WhenToDreamPickerTest"
Change-Id: I2c769658dc687ef26d184b7ce9065c18ab8b9b8d
2022-03-08 12:57:18 -05:00
Lucas Silva
b048c37062 Merge "Add master toggle to enable/disable screen savers" into tm-dev 2022-03-08 17:54:16 +00:00
Yasin Kilicdere
f9dd9ebfd5 Merge "Update UI to show feedback while creating Guest from Settings." into tm-dev am: 161697beef
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17084564

Change-Id: I9a51db701117450c2085f5aa25707bcc14c62cfd
2022-03-08 17:49:36 +00:00
Yasin Kilicdere
161697beef Merge "Update UI to show feedback while creating Guest from Settings." into tm-dev 2022-03-08 17:41:16 +00:00
PETER LIANG
36d0d31cb5 Merge "Fix that the preview text in "Text and reading options" page is too small." into tm-dev am: 3ccdcd433a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17106241

Change-Id: Ib5040227ea7698c0abafae1e3c718bafda2d9e77
2022-03-08 15:46:29 +00:00
Lucas Silva
d9071dea25 Add master toggle to enable/disable screen savers
The new control toggles the Settings.Secure.SCREENSAVER_ENABLED setting,
which controls if a screen saver is enabled. Also removed the "Never"
option from the WhenToDream picker, since this is now controlled via the
toggle.

Test: locally on device
Bug: 222360260
Change-Id: Ibcf52b5e2d1ad0c295f32c4c18bfc89082d074ce
2022-03-08 10:27:59 -05:00
PETER LIANG
3ccdcd433a Merge "Fix that the preview text in "Text and reading options" page is too small." into tm-dev 2022-03-08 15:17:10 +00:00
Marie Matheson
3f137b2106 Merge "Minor bug fixes for Lockscreen Safety Center source" into tm-dev am: 2adf0a066f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17107287

Change-Id: I093d02d5424a6354484612b5199770d20cb47502
2022-03-08 14:33:20 +00:00
Julia Reynolds
856cc0da65 Fix app notification toggle
Test: CTS Verifier 'Notification Listener Test'
Bug: 222372861
Change-Id: I060b8b9bf7b749736596676a3d98cd609dc65846
2022-03-08 09:18:56 -05:00
Marie Matheson
2adf0a066f Merge "Minor bug fixes for Lockscreen Safety Center source" into tm-dev 2022-03-08 14:02:57 +00:00
Yuri Ufimtsev
95a2bd08ab Merge "Inject different User IDs into biometric utils" into tm-dev am: 1985e02488
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17104563

Change-Id: Ib773f4a7bebcf7df7262558be8cd3d9a261860b5
2022-03-08 12:34:30 +00:00
Yuri Ufimtsev
1985e02488 Merge "Inject different User IDs into biometric utils" into tm-dev 2022-03-08 12:13:20 +00:00
Stanley Wang
f3e802f1d7 Merge "Fix the problem that voice search can not find the Use Battery Saver slice." into tm-dev am: 5e4be73398
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17013484

Change-Id: I5cc7620247489909715876bfd27abbab4c73bfcc
2022-03-08 11:08:02 +00:00
TreeHugger Robot
f505ee9236 Merge "Change default USB configuration to a RestrictedPreference" into tm-dev am: 7d26b6273c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17070264

Change-Id: I37dc0055304fd51eaa374a3f18f4ec205cd94b6e
2022-03-08 11:07:06 +00:00
Stanley Wang
5e4be73398 Merge "Fix the problem that voice search can not find the Use Battery Saver slice." into tm-dev 2022-03-08 10:30:03 +00:00
TreeHugger Robot
7d26b6273c Merge "Change default USB configuration to a RestrictedPreference" into tm-dev 2022-03-08 10:29:42 +00:00
Stanley Wang
21564efa8b Fix the problem that voice search can not find the
Use Battery Saver slice.

There is no title for preference in xml, so the preference cannot
be indexed.

Fix: 172276695
Test: manual test and see the UI
Change-Id: Ieb7836805e66515629064800e4119ca17b5ac2e0
2022-03-08 08:51:58 +00:00
Menghan Li
67c44d139f Merge "Fix One handed mode Settings "Pull screen into reach" function fail" into tm-dev am: 0ece869924
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17106238

Change-Id: I2d839c0b1320ef0f54757fa3c501fa3e332c93fa
2022-03-08 08:22:04 +00:00
Menghan Li
0ece869924 Merge "Fix One handed mode Settings "Pull screen into reach" function fail" into tm-dev 2022-03-08 07:51:12 +00:00
Weng Su
190d871520 Restrict WiFi network connection
- Use StandardWifiEntry#canConnect() to determine if the network should
  be disabled or not.

- Use StandardWifiEntry#getSummary() to retrieve the restriction message.

- Disabled WiFi network if it cannot connect.

- If WiFi network is connected or saved network, leave it enabled to
disconnect or configure.

- See the result screenshot in b/203168943#comment11

Bug: 203168938
Bug: 203168943
Test: manual test
make RunSettingsRoboTests ROBOTEST_FILTER=LongPressWifiEntryPreferenceTest
make RunSettingsRoboTests ROBOTEST_FILTER=NetworkProviderSettingsTest

Merged-In: I04aafaa5b383598a0f87eea15d06b38bbc662b9e
Change-Id: I04aafaa5b383598a0f87eea15d06b38bbc662b9e
(cherry picked from commit f86bdc9c69)
2022-03-08 07:06:30 +00:00
TreeHugger Robot
3c45d8a0e2 Merge "Add user button UX update" into tm-dev am: 3e4c3d84c6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17084549

Change-Id: I9989cb5c69b6c1490ef789ce664b76e87c3dc34c
2022-03-08 06:45:52 +00:00
TreeHugger Robot
7022c61a56 Merge "Modify the path message to correct path." into tm-dev am: 0cdfb9905b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17106233

Change-Id: I48f51a59fa54b192ce7482d797d5a3f37a29b7dd
2022-03-08 06:45:33 +00:00
TreeHugger Robot
3e4c3d84c6 Merge "Add user button UX update" into tm-dev 2022-03-08 06:42:32 +00:00
TreeHugger Robot
0cdfb9905b Merge "Modify the path message to correct path." into tm-dev 2022-03-08 06:20:22 +00:00
Peter_Liang
5bd3568078 Fix that the preview text in "Text and reading options" page is too small.
Add the default values into respective TextView

Fix: 222413847
Test: manual test
Change-Id: I1da8a6ea08007c8988ae8dcf798f1645128ac906
2022-03-08 14:13:44 +08:00
menghanli
072dcd9025 Fix One handed mode Settings "Pull screen into reach" function fail
Side effect of ag/16932279 that mistypo to change the controller name

Bug: 223308917
Test: Manual testing
Change-Id: Id625ffb9dfee6a38232a0b0f8387dc5350d5e1d8
2022-03-08 13:52:11 +08:00
TreeHugger Robot
a12b2c73bb Merge "Updated icon for reverse-landscape udpfs" into tm-dev am: 21731d86a5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17063286

Change-Id: I8c31f47a56fbc4d353df19116883c1b5ec075bd6
2022-03-08 03:58:13 +00:00
Menghan Li
d9af91cd83 Merge "Enable "Remove animation" assistive technologies in setup" into tm-dev am: 21419dc937
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17109885

Change-Id: I2cd98d0a6a3222ca15945277506fcec0672641a7
2022-03-08 03:57:50 +00:00
TreeHugger Robot
21731d86a5 Merge "Updated icon for reverse-landscape udpfs" into tm-dev 2022-03-08 03:38:10 +00:00
Menghan Li
21419dc937 Merge "Enable "Remove animation" assistive technologies in setup" into tm-dev 2022-03-08 03:28:36 +00:00
Sunny Shao
652ba71605 Modify the path message to correct path.
Fixes: 222127442
Test: manual test
Change-Id: I52c534a6e08d7d63700a09b030965e08f2bfc54e
2022-03-08 11:18:38 +08:00
menghanli
b9b750fa60 Enable "Remove animation" assistive technologies in setup
In Android T, adding more animations into SUW so want to make sure users can turn off animation if needed. The animation should also follow the flashing/strobing guidelines to ensure they're not seizure-inducing.

Bug: 223265388
Test: Manual testing
Change-Id: I8f443adddb6941ed6deae2f3b53d35f21ebcfd36
2022-03-08 07:34:50 +08:00
Marie Matheson
cc97297375 Minor bug fixes for Lockscreen Safety Center source
- use correct severity enum for issues
- update biomterics on lockscreen change
- clean up some nearby tests to use eq matcher instead of captor

Test: SettingsUnitTests
Test: Manually tested
Bug: 223170514
Bug: 222338885
Change-Id: I4e28a418473cbe7cd5d75daf0d62776654fa7917
2022-03-07 20:02:56 +00:00
Matt Pietal
b8c30c7c5d Add user button UX update
Visually align all add user/guest icons between settings and
systemui. Both areas may tint and size the icons slightly differently.

Fixes: 219078700
Test: visual, use the multiple users settings page
Change-Id: Ic88d5b2197f402f130d6cfeb94bdb2bb1b6aa58c
2022-03-07 13:37:20 -05:00
Chaohui Wang
da41990efb Merge "Fix Other default preferences alignment" am: c73dfdb858 am: 18e2057de2 am: 64774540f2 am: 768a07fb9e
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2010297

Change-Id: Icc04050787294eda3076b3368415a85cfcc02163
2022-03-07 14:07:03 +00:00
Chaohui Wang
768a07fb9e Merge "Fix Other default preferences alignment" am: c73dfdb858 am: 18e2057de2 am: 64774540f2
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2010297

Change-Id: I77465e94b94f274117f7555f580fc74fe9fb2762
2022-03-07 13:36:16 +00:00
Chaohui Wang
64774540f2 Merge "Fix Other default preferences alignment" am: c73dfdb858 am: 18e2057de2
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2010297

Change-Id: Icd2c470bbbc7144404b513beef5c6785eab8ca86
2022-03-07 13:06:22 +00:00