menghanli
f76e31fe48
Fix unbundled accessibility features settings crash when launched
...
Root cause: The ag/19938064 introduces Settings Core change preference value changed metrics log format. It tries to lookupMetricsCategory() at Fragment#instantiate() stage. It has not onAttach() to activity by FragmentManager#add() or #replace(). The features were added by ag/15824482.
Solution: PutInt new MATRICS_CATEGORY extra in previous class to avoid giving context for FeatureFactory.getFactory to custom 1P accessibility services for SettingsGoogle overlay.
Bug: 259355675
Test: manual test
Change-Id: Ic37d41be6a54fe388f211c1c397d0b9b87b5fb56
2022-11-18 22:18:27 +00:00
TreeHugger Robot
a4b2bc9b2b
Merge "Fix NPE of mDismissListener in Rename Dialog"
2022-11-16 03:26:40 +00:00
TreeHugger Robot
daf43a4605
Merge "Apply feature flag for biometrics"
2022-11-16 02:40:28 +00:00
TreeHugger Robot
148774d287
Merge "Fingerprint Introduction FragmentActivity"
2022-11-16 00:04:49 +00:00
TreeHugger Robot
7765c7129b
Merge "Add configuration for defaulting notification behavior" into tm-qpr-dev am: e2e892d46c am: 54170343cf
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20454246
Change-Id: Ic5021313463c2fb955d2e5066a5b8f9dec4603fb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-11-15 23:40:08 +00:00
TreeHugger Robot
54170343cf
Merge "Add configuration for defaulting notification behavior" into tm-qpr-dev am: e2e892d46c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20454246
Change-Id: I3f6ad58e5f8292642d7eb958402d172537536d0d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-11-15 23:00:52 +00:00
TreeHugger Robot
e2e892d46c
Merge "Add configuration for defaulting notification behavior" into tm-qpr-dev
2022-11-15 22:42:34 +00:00
lbill
c9f58d684e
Fix NPE of mDismissListener in Rename Dialog
...
Bug: 241122882
Test: Enroll 1 fingerprint, and rename in landscape mode, check no
more NPE when focus on inputfield and IME shown
Change-Id: I24fe9aab11cabd67015989cfaaf6a8228ea72b59
2022-11-15 19:06:00 +00:00
Hao Dong
f5ffb13dc1
Merge "Fix the flicker of FingerprintSettings before FingerprintEnrollIntro." into tm-qpr-dev am: 8a0074e909
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20414916
Change-Id: Ibbc4c72d598d16b0bc99c36fb311d90bc1765912
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-11-15 16:04:49 +00:00
Hao Dong
8a0074e909
Merge "Fix the flicker of FingerprintSettings before FingerprintEnrollIntro." into tm-qpr-dev
2022-11-15 15:40:37 +00:00
YK Hung
94bd431d34
Merge "Clean up the KEY_ROUTINE from the Settings"
2022-11-15 15:25:04 +00:00
Ankita Vyas
3503cc3cbf
Merge "Do not show Choose Profile dialog for clone user."
2022-11-15 11:13:26 +00:00
Wilson Wu
62c6b9f6aa
Merge "Fix show/hide virtual keyboard delay"
2022-11-15 08:48:48 +00:00
ykhung
3cf14b682e
Clean up the KEY_ROUTINE from the Settings
...
Fix: 258603978
Test: make RunSettingsRoboTests
Change-Id: I65033ca18953b57317af64418bb0b18d48eaacd8
2022-11-15 16:07:57 +08:00
“Ankita
9304977674
Do not show Choose Profile dialog for clone user.
...
Bug: 249194639
Test: make RunSettingsRoboTests -j64
Test: make RunSettingsRoboTests ROBOTEST_FILTER=ProfileSelectDialogTest
Change-Id: I35279f643f8c562df7b407fdf2cbfd2ae5ee9890
2022-11-15 07:49:09 +00:00
Treehugger Robot
0fb49d7299
Merge "Update owner for Settings project" am: 20a3f8f9e8 am: 73c0f408a4 am: 486c74f4fa
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2291755
Change-Id: If6ef7e90e3834082c94da696ce81e1ed655b12e8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-11-15 07:14:53 +00:00
Treehugger Robot
486c74f4fa
Merge "Update owner for Settings project" am: 20a3f8f9e8 am: 73c0f408a4
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2291755
Change-Id: Id1fe88f9af281f087c1291fa9645fab51ef9295d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-11-15 06:53:55 +00:00
Treehugger Robot
73c0f408a4
Merge "Update owner for Settings project" am: 20a3f8f9e8
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2291755
Change-Id: I083eb43c64d81ebc75e33e0abf0fe8d063be1425
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-11-15 06:22:14 +00:00
Treehugger Robot
20a3f8f9e8
Merge "Update owner for Settings project"
2022-11-15 05:43:00 +00:00
Edgar Wang
1111e51f2c
Merge "Change preference value changed metrics log format"
2022-11-15 03:05:13 +00:00
Joshua Mccloskey
8bc66cbb9f
Merge "Remove sidefps toggle from SUW." into tm-qpr-dev am: 94ddcba809
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20442178
Change-Id: Ib5ddf26067cdd3e07ebc414aa82306fee68e0add
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-11-15 01:50:46 +00:00
Joshua Mccloskey
94ddcba809
Merge "Remove sidefps toggle from SUW." into tm-qpr-dev
2022-11-15 01:14:01 +00:00
Grace Cheng
57c6df710b
[conflict] Merge "Update fingerprint enrollment finished string" into tm-qpr-dev am: e4b09e55ca am: aa3465b842
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20452306
Change-Id: I355e42fb9ea5bafe62006e152c52cd04cd62e109
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-11-14 21:26:38 +00:00
Grace Cheng
aa3465b842
Merge "Update fingerprint enrollment finished string" into tm-qpr-dev am: e4b09e55ca
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20452306
Change-Id: I8b9b3ec232d2950b859f66c0ce547ea9ae9e3dda
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-11-14 19:06:02 +00:00
Yining Liu
0a2c5d069a
Merge "Increase the number of notification items that can be shown in Notification history - Recently dismissed" into tm-qpr-dev am: 3852625699 am: a3bfaed468
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20331041
Change-Id: I657ccff8aee603e79cf3f85e43e2175fefded593
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-11-14 18:53:52 +00:00
Grace Cheng
e4b09e55ca
Merge "Update fingerprint enrollment finished string" into tm-qpr-dev
2022-11-14 18:35:16 +00:00
Yining Liu
a3bfaed468
Merge "Increase the number of notification items that can be shown in Notification history - Recently dismissed" into tm-qpr-dev am: 3852625699
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20331041
Change-Id: I038807ba1cd80bee01db6f66ef13f16ca97ec604
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-11-14 18:20:03 +00:00
Yining Liu
3852625699
Merge "Increase the number of notification items that can be shown in Notification history - Recently dismissed" into tm-qpr-dev
2022-11-14 17:58:28 +00:00
Joshua McCloskey
c10d8ca045
Remove sidefps toggle from SUW.
...
Test: Verified manully that the toggle is no longer
present when enrolling sidefps.
Fixes: 258687688
Change-Id: I0ea63a61908b45399ba09ff31fd8fe6a4aacfb41
Merged-In: I0ea63a61908b45399ba09ff31fd8fe6a4aacfb41
2022-11-14 17:29:58 +00:00
Joshua Mccloskey
7190e3a56c
Merge "Remove sidefps toggle from SUW."
2022-11-14 17:29:44 +00:00
João Victor Mendes Freire
0ed6e65e44
Merge "Fix settings crash when interact uninstalled app"
2022-11-14 16:31:35 +00:00
Joshua McCloskey
cfaf707a78
Remove sidefps toggle from SUW.
...
Test: Verified manully that the toggle is no longer
present when enrolling sidefps.
Bug: 258687688
Change-Id: I0ea63a61908b45399ba09ff31fd8fe6a4aacfb41
2022-11-14 16:22:12 +00:00
TreeHugger Robot
2c45688a13
Merge "Introduce concept of DockUser"
2022-11-14 15:00:56 +00:00
Edgar Wang
81aaba00e7
Change preference value changed metrics log format
...
- Pass metric category into SharedPreferenceLogger
- Update MainSwitchBar metric log format
Bug: 246483846
Test: Robotest
Change-Id: I91c7b89ee35ae4922aea0d8c998f7d0e33365da2
2022-11-14 18:05:42 +08:00
TreeHugger Robot
87e404ccf1
Merge "Invoke close() method for BatteryUsageStats to close cursor window"
2022-11-14 08:31:35 +00:00
Milton Wu
ee5ebfa18f
Apply feature flag for biometrics
...
adb shell setprop sys.fflag.override.settings_biometrics2_enrollment true
Bug: 236072782
Test: Manully enable feature flag and test
Change-Id: Id794ba117d3ae9e0bc76086ee8c1cd95fa607cc1
2022-11-14 15:36:09 +08:00
Milton Wu
b9b8b8a512
Fingerprint Introduction FragmentActivity
...
Introducing MVVM architecture & fragments to biometric settings.
Here, we modify the first page of FingerprintEnrollIntroduction to use
new MVVM with Fragment architecture.
And with this new architecture, unit test and screen order will be
easier to be written or changed.
Bug: 236072782
Test: atest FingerprintEnrollmentViewModelTest AutoCredentialViewModelTest
FingerprintEnrollIntroViewModelTest FingerprintRepositoryTest
Change-Id: Icf12c91625db86c2c99081a0108203e607e77f74
2022-11-14 15:36:03 +08:00
Zekan Qian
c73cfaa53a
Merge "Use default Page() function in spa.HomePage"
2022-11-14 07:17:40 +00:00
Wesley Wang
f164be387e
Invoke close() method for BatteryUsageStats to close cursor window
...
- Invoke close() method for BatteryUsageStats to close cursor window,
avoid OOM.
Bug: 245385410
Test: make SettingsRoboTests
Change-Id: I68f36a42a33d2546cb191cec88f5431e24dd5b84
2022-11-14 06:56:38 +00:00
Zekan Qian
8cf80a1227
Use default Page() function in spa.HomePage
...
Bug: 244122804
Test: build Settings
Change-Id: I700ad8d91ef6c204a3cea06ec02b40c70bb4b942
2022-11-14 13:25:53 +08:00
ykhung
a2f5c5a24e
Remove the 'schedule by routine' from the saver scheduler
...
Fix: 258603978
Test: make RunSettingsRoboTests
Change-Id: I6256957dc5a4be6699998c825fb32e03f638af39
2022-11-14 11:24:17 +08:00
ykhung
d66fd82c35
Verify and reset invalid battery setting in the data restore stage
...
Verify and reset invalid battery setting configuration in the data
restore stage to avoid resoring invalid configuration from other devices
Bug: 258243197
Test: make RunSettingsRoboTests
Change-Id: I1a0febd2ad527147e4e9e9c77734c4b51963263a
2022-11-14 01:51:46 +00:00
Hao Dong
3ca9965a96
Fix the flicker of FingerprintSettings before FingerprintEnrollIntro.
...
Change to launch FingerprintEnrollIntroductionInternal directly when no fingerprint enrolled and fingerprint is the only biometrics. This avoids the flicker of FingerPrintSettings before showing the enroll introduction.
This partially reverts the change in ag/19732076.
Bug: 256334588
Test: manual test following cases on fp-only devices, and enable don't
keep activity and test them again.
1. fp enrollment on SUW
2. fp add another on SUW
3. add first fp on Security Settings
4. add another fp on Security Settings
Test: atest FingerprintStatusUtilsTest BiometricsSafetySourceTest
Change-Id: I057b00fbca6660012887ebedf4d65c2c3d35792b
Merged-In: I057b00fbca6660012887ebedf4d65c2c3d35792b
(cherry picked from commit 6bed01f315 )
2022-11-12 23:41:37 +00:00
Chaohui Wang
a9575edf2f
Merge "Update for DisposableBroadcastReceiverAsUser"
2022-11-12 03:55:01 +00:00
TreeHugger Robot
470afd9a85
Merge "[Panlingual] Improve performance of displaying app list in Settings."
2022-11-12 00:16:12 +00:00
Grace Cheng
dd7e488197
Update fingerprint enrollment finished string
...
Updates string displayed at completion of fingerprint enrollment
Test: Observe updated string after enrolling a fingerprint
Fixes: 257898484
Change-Id: I40ab1b67030f164c96c8abca0837bacc1560d1b5
2022-11-12 00:08:10 +00:00
TreeHugger Robot
e1be0e41ba
Merge "Monitor the page scrolling jank for app list pages"
2022-11-11 22:00:11 +00:00
Steve Elliott
a92688d642
Add configuration for defaulting notification behavior
...
Test: RedactionInterstitialTest
Test: go through SUW on a phone
Bug: 240472040
Change-Id: I7bcd9f1a128c757881693e0251d305d2e26e4fd8
2022-11-11 14:08:09 -05:00
Florian Mayer
a1167c1432
Merge "Add intent to open MemtagPage"
2022-11-11 16:33:15 +00:00
Tetiana Meronyk
b1a21505d7
Merge "Hide "Add user" button for secondary user"
2022-11-11 14:19:23 +00:00