Milton Wu
2c114331aa
Merge "[BiometricsV2] Ignore ui tests" into main
2023-09-14 05:59:41 +00:00
Hao Dong
26cd19552b
Fix SettingsV2 tests.
...
Test: atest FingerprintSettingsViewModelTest
Test: atest FingerprintSettingsNavigationViewModelTest
Bug: 300343752
Change-Id: Ib54da7a8839cecb16de65d20fce56248e6c60384
2023-09-14 02:50:10 +00:00
Guojing Yuan
ac64ce5153
Merge "[CDM] Add Permissions Sync toggle" into main
2023-09-13 17:37:58 +00:00
Elliot Sisteron
8744e021e5
Handle "Blocked by your IT admin" better.
...
Instead of allowing the user to click the entry, make the entry
non-clickable and mention that it's blocked by IT admin.
Bug: 297965563
Test: atest LockScreenSafetySourceTest
Change-Id: I821d661dd924358a5e7b033118b63e104ade9eaf
2023-09-13 14:02:41 +00:00
Wentao Wang
f11e1666bf
Merge "Separate the demo user factory reset option with admin user factory reset option." into udc-qpr-dev am: 38f12abb75
am: 0d3ae3ed32
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24677431
Change-Id: Ie89643b620ee82e4f30ab98ca466f54bd68b8067
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-09-13 13:53:24 +00:00
Wentao Wang
0d3ae3ed32
Merge "Separate the demo user factory reset option with admin user factory reset option." into udc-qpr-dev am: 38f12abb75
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24677431
Change-Id: I1c3d89346991f82f994a230db385ef2c523b067a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-09-13 13:01:39 +00:00
Wentao Wang
38f12abb75
Merge "Separate the demo user factory reset option with admin user factory reset option." into udc-qpr-dev
2023-09-13 11:51:21 +00:00
Wentao Wang
a44e75d6ed
Separate the demo user factory reset option with admin user factory reset option.
...
A security vulnerability was discovered by Android security. b/292548775 Within a short period of time after the device reboot, the user could enter the settings page and factory reset the device. Android Enterprise suggests to add DISALLOW_FACTORY_RESET user restriction to the device.
However, DISALLOW_FACTORY_RESET will be enabled on all Android users, including both the admin user and the demo user. The existing behavior in Android settings is that once the user restriction is set, factory reset button will be greyed out, which makes the factory reset functionality in demo user go away.
In demo user, the factory reset command will be forwarded to the current active device owner. So in this change, we separate the button for admin user and the button for demo user.
In demo user, the button is still visible when the restriction is set.
And in admin user, the button will be greyed out as expected.
Once this change is in, then Pixel Retail Demo could set the user restriction properly and rely on its internal logic to do factory reset. If other applications are trying to do the factory reset, it will be denied by OS.
BUG: 292548775
Change-Id: I9d2d47bb29bc2c1e05058b246908768cd2f95990
2023-09-13 11:47:11 +00:00
mxyyiyi
6b8daefd54
Impl highlight effect on BatteryChartView slots. am: 6750634259
am: 9e4fed1b62
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24498956
Change-Id: I9a38284ab828c149ca06a51fbad7f3fcb2ac33de
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-09-13 08:54:29 +00:00
Milton Wu
867df4287f
[BiometricsV2] Ignore ui tests
...
Ignore biometricsV2 UI tests
Bug: 299892647
Bug: 299894420
Bug: 299892667
Bug: 299892703
Bug: 299898688
Test: atest FingerprintEnrollmentActivityTest
Change-Id: If7aa509dbc0943aa53ffcc9d118ecc19e59b127f
2023-09-13 08:37:44 +00:00
Graciela Putri
f862ff58f0
Merge "Change aspect ratio summary and footer text" into udc-qpr-dev am: dd34fa54e4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24679072
Change-Id: I1fcf366127ea502b3351c8f6a94d601281df4a54
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-09-13 07:58:10 +00:00
mxyyiyi
9e4fed1b62
Impl highlight effect on BatteryChartView slots. am: 6750634259
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24498956
Change-Id: Iff96ebb33e50b2c2bddbe44eada5bf35f7118531
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-09-13 07:57:45 +00:00
Manish Singh
5aef6b6264
Remove temp workaround for feature flag
...
Using the trunk stable feature flagging now.
Bug: 295516544
Test: m
Test: manual adb
Test: atest SafetySourceBroadcastReceiverTest
Test: atest PrivateSpaceSafetySourceTest
Change-Id: I3d2d8c11dfb224ad2b09572493633366b4c4805c
2023-09-13 08:49:56 +01:00
Graciela Putri
dd34fa54e4
Merge "Change aspect ratio summary and footer text" into udc-qpr-dev
2023-09-13 07:14:13 +00:00
mxyyiyi
6750634259
Impl highlight effect on BatteryChartView slots.
...
Screenshot: https://screenshot.googleplex.com/F5VrGjj5kdNHMV6
Bug: 284893240
Bug: 291689623
Test: manual
Change-Id: I846d95d31e8bb839481b86a94d5191ff205f8328
2023-09-13 13:29:32 +08:00
YK Hung
9feaa3d883
Merge "Refactor battery usage page contollers interaction logic" into udc-qpr-dev am: 9a293a7101
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24545857
Change-Id: I29faff65657c84156d21d8e2bfc6ea285dbd5f1b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-09-13 04:45:21 +00:00
YK Hung
8596b78a00
Merge "Refactor flags of Power Anomaly Tips in Settings Intelligence.(1/2)" into udc-qpr-dev am: 02b5491447
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24663389
Change-Id: I89aa04fe2079243e78328177069bb16c1e8e5297
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-09-13 04:43:40 +00:00
Zaiyue Xue
ea0f5b3d45
Refactor battery usage page contollers interaction logic
...
(1) Move controllers interaction logic from BatteryChartPreferenceController to main page PowerUsageAdvanced.
(2) Move query power anomaly logic to DataProcessManager async job.
Bug: 284893240
Test: manual
Change-Id: Ib23b338fe3946e68ff73a372342ec5d86494c566
Merged-In: Ib23b338fe3946e68ff73a372342ec5d86494c566
2023-09-13 03:56:28 +00:00
Hao Dong
0978271198
Remove FingerprintStateViewModel.
...
Since FingerprintStateViewModel is too general as a view model, this CL
removes it and adds more concrete flows in FingerprintSettingsViewModel
and FingerprintEnrollViewModel.
Test: atest FingerprintManagerInteractorTest
Test: atest FingerprintSettingsViewModelTest
Test: Verified enroll/deletion/renaming/authentication flows on Settings
Change-Id: I3a0662195c4989de0813b92bccda9d36a7f7e32a
2023-09-12 23:17:46 +00:00
Guojing Yuan
756d23cad1
[CDM] Add Permissions Sync toggle
...
Bug: 290063372
Test: manually tested the toggle
Change-Id: I75d4370eed98275e2f99d65620229bdb57193fb8
2023-09-12 18:02:38 +00:00
Graciela Wissen Putri
c37c8b8789
Change aspect ratio summary and footer text
...
Add more education for device user that setting aspect ratio has not
been tested by the app developer. Move Aspect ratio under Apps >
Advanced instead of General.
Fix: 296160724
Test: atest UserAspectRatioAppsPageProviderTest
Change-Id: I2078f285d7bfb8de3a61c69f9d0ff3872d683ed4
2023-09-12 16:56:10 +00:00
mxyyiyi
19046965da
Refactor flags of Power Anomaly Tips in Settings Intelligence.(1/2)
...
- Remove unused flag is_battery_tips_feedback_enabled
- Update logic about is_battery_tips_enabled
Bug: 284893240
Bug: 291689623
Test: Manual
Change-Id: I826f517aa61e0c970048164706c4512ac3e0472d
Merged-In: I826f517aa61e0c970048164706c4512ac3e0472d
2023-09-12 11:28:10 +00:00
Angela Wang
d84c60f2ac
Merge "Fix test failure of AvailableMediaDeviceGroupControllerTest" into main
2023-09-12 06:06:08 +00:00
Chaohui Wang
5bf2981d08
Fix SettingsUITests flakiness
...
Bug: 290684887
Test: atest SettingsUITests
Change-Id: I8f85c9c50eb3426b740c7ef3bf8996d6655bca0a
2023-09-12 11:44:50 +08:00
Eric Rahm
802b922593
Revert "Test Fix SettingRobolectricTest Fail"
...
This reverts commit 818f77cd1f
.
Reason for revert: Underlying issue fixed in ag/23454315.
Bug: b/275023433
Test: atest SettingsGlobalRoboTests
Change-Id: I1af272efd00b3c5bd35310512f5712d5d1c7d834
2023-09-11 13:38:36 +00:00
Manish Singh
7cd9300c1d
Merge "Add Private Space settings page" into main
2023-09-11 12:52:05 +00:00
Chaohui Wang
e2e0af282a
Add DevelopmentSettingsTest
...
Bug: 290684887
Test: atest SettingsUITests
Change-Id: I3acda74c96679fcdb531990848e456d5da0ae239
2023-09-11 16:10:22 +08:00
Chaohui Wang
a35c6bc139
Fix more SettingsUITests
...
Also add SettingsUITests to postsubmit.
Bug: 290381395
Test: ui test
Change-Id: Ib1dd35bf7823290bf77deb31366e9cb6ae9f65f7
2023-09-09 22:02:56 +08:00
Becca Hughes
3915464217
Merge "Add missing divider to credman settings" into main
2023-09-08 23:36:07 +00:00
Angela Wang
bb1fe04afb
Fix test failure of AvailableMediaDeviceGroupControllerTest
...
Prevent test failing by avoid using ShadowFragment in the test. This
will cause `androidx.fragment.app.SuperNotCalledException` when creating
HearingAidPairingDialogFragment.
Bug: 299597695
Test: atest AvailableMediaDeviceGroupControllerTest
Change-Id: I99b5213cb78aad97fcb7e44e1babcf6c7f11636e
2023-09-08 11:58:24 +00:00
Chaohui Wang
ce24ad65fe
Merge "Fix some SettingsUITests" into main
2023-09-08 11:46:23 +00:00
Tetiana Meronyk
94b6aa45f7
Merge "Revert "Disable multiuser toggle when more than 1 user is created"" into main
2023-09-08 11:35:30 +00:00
Chaohui Wang
98ade3ae18
Merge "Clean up WifiDataUsageSummaryPreferenceController" into main
2023-09-08 08:03:18 +00:00
Chaohui Wang
1caab182a7
Fix some SettingsUITests
...
Bug: 290381395
Test: atest AppsSettingsTests
Test: atest AppsSettingsRetainFilterTests
Test: atest AboutPhoneSettingsTests
Change-Id: I4c22afabbfc6ef5ed0e5fdcf86370ea0aaae5c74
2023-09-08 15:48:29 +08:00
Chaohui Wang
81d99646e9
Set use_resource_processor for Settings tests
...
Bug: 293810334
Test: unit test
Test: robo test
Change-Id: Ibc1756f4f1f943ee6aa8ebb4dda930684d93ae07
2023-09-08 12:13:35 +08:00
Treehugger Robot
f9607c2b43
Merge "The new About > Account behavior" into main
2023-09-08 00:42:33 +00:00
Manish Singh
27c3987860
Add Private Space settings page
...
This involves:
1. Adding a new page for PS settings under Security & Privacy
2. Integrating the PS safety source with SafetyCenter.
Also, add the capability to create and delete PS from the page.
Creation is temporary to help with prototyping, and will be removed
finally.
Screenshots:
Private Space Entry point in Security & Privacy Settings:
https://screenshot.googleplex.com/4VHxNekjhxZHJwF
Private Space Settings page:
https://screenshot.googleplex.com/3Raw4wuymTHTgtM
Creating Private Space:
https://screenshot.googleplex.com/3dvzAH6V4kQmuYf
Private Space created:
https://screenshot.googleplex.com/Aj7nnF9uuUCa9Q5
Design doc:
https://docs.google.com/document/d/1CdjUjAE84-5ZEPRIfw5KYFjLVHtEZxc_sF0w95su8DA/edit?usp=sharing&resourcekey=0-dAACT9HRexY1IyoxMmkVlw
Bug: 286539356
Bug: 293569406
Test: manual
Test: atest DeletePrivateSpaceControllerTest
Test: atest UseOneLockControllerTest
Test: atest HidePrivateSpaceControllerTest
Change-Id: I9caf8e04e7fb2df36e60f607225e2931988ee692
2023-09-07 18:12:53 +01:00
Tetiana Meronyk
8489ae99dc
Revert "Disable multiuser toggle when more than 1 user is created"
...
Revert submission 24420426-multi_toggle
Reason for revert: This change needs to be done along with some other UI changes to avoid confusion
Reverted changes: /q/submissionid:24420426-multi_toggle
Change-Id: Ife2e03d0090fefcb4c1fa53dd007336759eb1bc7
2023-09-07 15:50:09 +00:00
Sunny Shao
b44fb93aa8
The new About > Account behavior
...
- Change the display content of the summary while multiple accounts.
- Goto the Passwords & accounts page when users click Account item.
Fixes: 290593956
Test: atest BrandedAccountPreferenceControllerTest
Change-Id: Iae32803076d86455f52f2ffd278e06995161adfe
2023-09-07 07:40:41 +08:00
Becca Hughes
d7c780aac7
Add missing divider to credman settings
...
Test: ondevice
Bug: 274126440
Change-Id: I3ba68a749899840c6ed646793e1d65725f10cce8
2023-09-06 10:45:50 -07:00
Shivangi Dubey
00a78fca41
Merge "Refine fold setting" into udc-qpr-dev am: 26e14e09bf
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24314953
Change-Id: Iaf6c0514a406267de5924672b1e879a4dce3ce4a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-09-06 15:06:39 +00:00
Shivangi Dubey
26e14e09bf
Merge "Refine fold setting" into udc-qpr-dev
2023-09-06 14:28:54 +00:00
Zaiyue Xue
c192039fe5
Merge "Refactor battery usage page contollers interaction logic" into main
2023-09-06 11:46:09 +00:00
dshivangi
7435bbc70a
Refine fold setting
...
Current fold setting has a toggle button which can enable the “Stay unlocked on fold” setting.
Create a new page for fold setting which will allow us to choose something from three options.(https://screenshot.googleplex.com/6W65aTYtigGpr3v )
*Always - Front display turns on when you fold your device [Currently available setting]
*Only games, videos, and more - Front display turns on for apps that stop your screen going idle [Default]
*Never - Front display locks when you fold your device [New option for user]
Test: atest FoldLockBehaviorSettingsTest FoldLockBehaviorPreferenceControllerTest
*Manual
Flash the build with these changes
Manually select options one by one
Observe the behavior
Fixes: 294194379
Change-Id: Ie5b4e1d7560ed645ec2ca5f49cc9715b17d21367
Merged-In: Ie5b4e1d7560ed645ec2ca5f49cc9715b17d21367
2023-09-06 10:52:12 +00:00
Shivangi Dubey
25825c8329
Merge "Refine fold setting" into main
2023-09-06 10:47:31 +00:00
Zaiyue Xue
f5ea50e20e
Refactor battery usage page contollers interaction logic
...
(1) Move controllers interaction logic from BatteryChartPreferenceController to main page PowerUsageAdvanced.
(2) Move query power anomaly logic to DataProcessManager async job.
Bug: 284893240
Test: manual
Change-Id: Ib23b338fe3946e68ff73a372342ec5d86494c566
Merged-In: Ib23b338fe3946e68ff73a372342ec5d86494c566
2023-09-06 17:51:02 +08:00
Chaohui Wang
4b686147b6
Clean up WifiDataUsageSummaryPreferenceController
...
Which is legacy and not finished implemented.
Bug: 295260929
Test: unit test
Test: robo test
Test: manual - on Mobile Settings page
Test: manual - on Network details page
Change-Id: I30ac639c1ba285a74038d5413b63e2c31c6cc8ba
2023-09-06 17:37:02 +08:00
Graciela Putri
9e571e55cf
Merge "Enable User Aspect Ratio Settings by default" into udc-qpr-dev am: f7a443b419
am: c8bd304d95
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24620828
Change-Id: I3d5ad3abc86cf3bdb85c031bdee154708985176d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-09-06 04:10:27 +00:00
Graciela Putri
c8bd304d95
Merge "Enable User Aspect Ratio Settings by default" into udc-qpr-dev am: f7a443b419
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24620828
Change-Id: I336e6a719d50ab5bdc841d7e9bb68c6f60e040f9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-09-06 03:19:38 +00:00
Graciela Putri
f7a443b419
Merge "Enable User Aspect Ratio Settings by default" into udc-qpr-dev
2023-09-06 02:22:01 +00:00