Graciela Putri
725efb1a5a
Merge "Add opt-out properties for aspect ratio settings" into udc-qpr-dev am: 83c8f47ddd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24309274
Change-Id: Ic2222519338f30df3d6dd5fea2df5b99bc4eb931
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-16 06:20:48 +00:00
Joshua Mccloskey
12bf914caf
Merge "Adding more tests for FingerprintSettingsV2" into main
2023-08-15 17:30:37 +00:00
Graciela Wissen Putri
08983e8e63
Add opt-out properties for aspect ratio settings
...
Don't display aspect ratio options if app has opted out. If app has
opted out only for fullscreen, other aspect ratio options should still
be shown.
Bug: 292583399
Test: UserAspectRatioManagerTest
Change-Id: Ia0b223536407f703826d775468c8f8a0b4822e23
2023-08-15 09:14:21 +00:00
Joshua McCloskey
7623717788
Adding more tests for FingerprintSettingsV2
...
Test: atest FingerprintSettingsViewModelTest
FingerprintSettingsNavigationModelTest
Bug: 280862076
Change-Id: Ibb3d0112f394d6776fc1b346d226d9f7720cfed8
2023-08-14 18:30:21 +00:00
Elliot Sisteron
cea9ff385a
Respond with null data when no screen lock.
...
Safety Center expects a response to the broadcast in this case.
The Settings app should respond with explicitely no data to Safety
Center rather than not respond.
Bug: 295845686
Test: atest LockScreenSafetySourceTest
Change-Id: Ibaa134b1f93304731f37444ab222b3dc628bae02
2023-08-14 14:11:05 +00:00
XingHai Lu
b199f3512a
Merge "Add FeatureProvider for onboarding related settings" into main
2023-08-11 11:58:56 +00:00
XingHaiLu
10cf80af4c
Add FeatureProvider for onboarding related settings
...
Add OnboardingFeatureProvider which will be used to B&R sound settings and
related tasks.
Bug: 289512753
Test: FakeFeatureFactory
Change-Id: I25e3b1f105ce0970cdf651400c153d8b4733029b
2023-08-11 16:53:56 +08:00
Chaohui Wang
d4074dabb3
Merge "Clean up unused unit testutils" into main
2023-08-10 10:58:15 +00:00
Elliot Sisteron
ef487255b9
Merge "Respond with null data when no biometrics." into main
2023-08-10 09:19:04 +00:00
Chaohui Wang
a411f3e686
Clean up unused unit testutils
...
Bug: 285231003
Test: presubmit
Change-Id: Ibb228dc371c0f52a02a404d3c0c0f2a02e5806f0
2023-08-10 15:39:25 +08:00
Chaohui Wang
db45ed7370
Merge "Clean up @OptIn(ExperimentalCoroutinesApi::class)" into main
2023-08-10 05:39:03 +00:00
Treehugger Robot
8634789d95
Merge "Split the string resource id for non-generic accessibility preference." into main
2023-08-09 17:58:35 +00:00
Elliot Sisteron
cbc619c870
Respond with null data when no biometrics.
...
Safety Center expects a response to the broadcast in this case.
The Settings app should respond with explicitely no data to Safety
Center rather than not respond.
Bug: 295143688
Test: atest BiometricsSafetySourceTest
Change-Id: Iea7f7c53919d90bf3d7fd989fb2f320a5c9ee9c6
2023-08-09 12:46:28 +00:00
Chaohui Wang
b0b710f1b0
Clean up @OptIn(ExperimentalCoroutinesApi::class)
...
After runTest get stable.
Bug: 285231003
Test: unit test
Change-Id: I200ba979727b900380b107bd82e1d0e43ab1d994
2023-08-09 17:26:10 +08:00
Treehugger Robot
33d480ed56
Merge "[BiometricsV2] Refactor AutoCredentialViewModel" into main
2023-08-09 08:37:45 +00:00
Milton Wu
f8cdda45aa
[BiometricsV2] Refactor AutoCredentialViewModel
...
Fix previous review comments on
I84bab0b46e023303c0046a6ae6886ab1cf9458b8
Bug: 286197659
Test: atest AutoCredentialViewModelTest
Test: atest biometrics-enrollment-test
Change-Id: I9b43a637439e941bdb884e3ae2f656d573364123
2023-08-09 06:39:48 +00:00
Chun-Ku Lin
b65108ba1b
Split the string resource id for non-generic accessibility preference.
...
- Keep the accessibility settings strings the same as in U.
Bug: 289425138
Test: manual
Test: atest
Change-Id: Iddbbfe627c93529d2421e153094a30628229c4bc
2023-08-08 19:17:54 +00:00
Chaohui Wang
8e2ae547d6
Clean up FeatureFactory.getFeature()
...
Bug: 286764889
Test: m Settings
Change-Id: I7e472e6b0ca6b7a735c1b92742ddf06c545176fc
2023-08-08 08:41:48 +00:00
Chaohui Wang
2541381259
Fix references to resources for Settings
...
Bug: 293810334
Test: m Settings
Change-Id: Ie140278f492ef7e1c062ec1ecae2866c521a86aa
2023-08-08 01:56:05 +00:00
Treehugger Robot
317bfca133
Merge "[BiometricsV2] Refactor EnrollIntroViewModel" into main
2023-08-07 05:22:36 +00:00
Treehugger Robot
538eafcbf2
Merge "[BiometricsV2] Refactor AutoCredentialViewModel" into main
2023-08-07 05:22:13 +00:00
Etan Cohen
726bda1d98
Merge "Fix WiFi (ZX or DPP) QR code parsing to ignore leading spaces" into udc-qpr-dev am: dca9c6b88f
am: a20cb88cf6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24285925
Change-Id: Ib3aa9df47d9fa91a2fa56c6d771b9da0c9d512f8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-05 01:15:16 +00:00
Etan Cohen
a20cb88cf6
Merge "Fix WiFi (ZX or DPP) QR code parsing to ignore leading spaces" into udc-qpr-dev am: dca9c6b88f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24285925
Change-Id: I687e5e85223d2b96d60667b1c203bd7264935cc2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-05 00:27:43 +00:00
Etan Cohen
0fb1a3b3a7
Fix WiFi (ZX or DPP) QR code parsing to ignore leading spaces
...
Increase robustness of QR code parsing: while leading spaces aren't
expected (or allowed) they are observed in the wild and can be safely
ignored.
Bug: 292331368
Test: validated that QR code with scan is now parsed correctly
Test: atest WifiQrCodeTest
Change-Id: Ifff79870bea2ec9924f7b2e8100c2c01fd350846
2023-08-03 14:25:38 +00:00
Chaohui Wang
3cdf5b9be9
Remove context from enterprisePrivacyFeatureProvider
...
EnterprisePrivacyFeatureProvider is created by using application
context, no need pass context in when get.
Bug: 286764889
Test: m Settings
Change-Id: I346f2b0ccbb0590f26954603ab630132cd8be63f
2023-08-02 19:10:31 +08:00
Chaohui Wang
515c0b8e3a
Remove context from userFeatureProvider
...
UserFeatureProviderImpl is created by using application context,
no need pass context in when get.
Bug: 286764889
Test: m Settings
Change-Id: I80ac7124c3278399e562d4d7d49d1847847b92af
2023-08-02 17:25:41 +08:00
Milton Wu
804b76ebc3
[BiometricsV2] Refactor EnrollIntroViewModel
...
1. Refactor FingerprintEnrollIntroViewModel to kotlin and replace
LiveData as Flow
2. Set importantForAccessibility to sud_scroll_view (porting solution of
b/244595576 into fingerprint enrollment v2)
Bug: 286198097
Test: atest -m FingerprintEnrollIntroViewModelTest
Test: atest -m FingerprintEnrollmentActivityTest
Test: atest -m biometrics-enrollment-test
Change-Id: Idd4e9d77d040d7efd61342284d7b6a493a20a539
2023-08-02 04:42:36 +00:00
Graciela Putri
677c476a2c
Merge "[4/n] Add fullscreen option in user aspect ratio settings" into udc-qpr-dev am: 1f1c2a7db9
am: c97131b90b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24213103
Change-Id: I079c6d10edbba5635e095a29067f21e22945bf85
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-28 19:32:58 +00:00
Graciela Putri
c97131b90b
Merge "[4/n] Add fullscreen option in user aspect ratio settings" into udc-qpr-dev am: 1f1c2a7db9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24213103
Change-Id: Ie0f2338c707cc45dd1cbe57931102bf22df4184a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-28 18:24:45 +00:00
Graciela Wissen Putri
fa945cc808
[4/n] Add fullscreen option in user aspect ratio settings
...
Apps > App Info > Advanced > Aspect ratio
Adds fullscreen option to aspect ratio settings gated by fullscreen
build time and runtime flags. If fullscreen option is disabled, return
app default option.
To enable feature:
adb shell device_config put window_manager
enable_app_compat_user_aspect_ratio_settings true
adb shell am force-stop com.android.settings
Bug: 291900454
Test: All Settings CUJs passed
atest SettingsUnitTests:UserAspectRatioManagerTest
Change-Id: I8f8d0c08ac81f088d6c25e8dfb3550f807f336b6
2023-07-28 10:09:56 +00:00
Tyler Freeman
96e31c83a5
fix(bold text test): reset settings when test finishes
...
Fix: 293250385
Test: atest packages/apps/Settings/tests/unit/src/com/android/settings/accessibility/FontWeightAdjustmentPreferenceControllerTest.java
Change-Id: Ie1917799f9619157ce5e32997bd3798c68da085b
2023-07-27 09:04:44 -07:00
Treehugger Robot
6e43b13cb8
Merge "[BiometricsV2] Refine ErrorDialogViewModelTest" into main
2023-07-27 02:13:09 +00:00
Treehugger Robot
35d8c4fcdf
Merge "Disable FontWeightAdjustmentPreferenceControllerTest" into main
2023-07-26 13:18:28 +00:00
Adrian Roos
af4e91db85
Disable FontWeightAdjustmentPreferenceControllerTest
...
The test modifies the system-global font weight adjustment setting,
but doesn't reset it, leaving the system in a bad state for subsequent
tests.
Bug: 293250385
Change-Id: I9f7b8fc100b71181d17e5e72cc8c6d871c41de7d
Test: n/a
Bug: 293250385
Change-Id: I9f7b8fc100b71181d17e5e72cc8c6d871c41de7d
Test: n/a
2023-07-26 12:32:11 +00:00
Chaohui Wang
a7a10f1088
Merge "Remove context from dashboardFeatureProvider" into main
2023-07-25 23:39:27 +00:00
Milton Wu
acb8be5d25
[BiometricsV2] Refactor AutoCredentialViewModel
...
Refactor AutoCredentialViewModelTest and FingerprintEnrollmentViewModel
to kotlin and change LiveData to Flow
Bug: 286197659
Test: atest -m CredentialModelTest
Test: atest -m AutoCredentialViewModelTest
Test: atest -m FingerprintEnrollmentViewModelTest
Test: atest -m FingerprintEnrollmentActivityTest
Test: atest -m biometrics-enrollment-test
Change-Id: I84bab0b46e023303c0046a6ae6886ab1cf9458b8
2023-07-25 21:14:42 +08:00
Milton Wu
04b600d0d8
[BiometricsV2] Refine ErrorDialogViewModelTest
...
Some FingerprintEnrollErrorDialogViewModel APIs related coroutine don't
be well test in FingerprintEnrollErrorDialogViewModelTest
Bug: 293044262
Test: atest -m FingerprintEnrollErrorDialogViewModelTest
Change-Id: Iab3897d37c904184c1f58ab617e74cd563b3aa43
2023-07-25 13:02:02 +00:00
Graciela Putri
8dffd59e3d
Merge "[2/n] Add aspect ratio app list page under apps" into udc-qpr-dev am: 4e86d0d6b3
am: dc86dbe24b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/23819684
Change-Id: If7c6f4fa26ea014e40e737f07daae8b72481e2c2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-21 22:58:58 +00:00
Graciela Putri
dc86dbe24b
Merge "[2/n] Add aspect ratio app list page under apps" into udc-qpr-dev am: 4e86d0d6b3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/23819684
Change-Id: Iac8fc9b4d80e287a84e4a7d2917e76954ae64a9c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-21 22:13:34 +00:00
Graciela Putri
4e86d0d6b3
Merge "[2/n] Add aspect ratio app list page under apps" into udc-qpr-dev
2023-07-21 21:28:44 +00:00
Graciela Wissen Putri
b4c4f6cbe6
[2/n] Add aspect ratio app list page under apps
...
Apps > General > Screen Size
To enable feature:
adb shell device_config put window_manager enable_app_compat_user_aspect_ratio_settings true
adb shell am force-stop com.android.settings
Fix: 287448088
Test: Manual
atest AspectRatioAppsPageProviderTest
atest AspectRatioUtilsTest
All CUJs passed in go/settings-cujs
Change-Id: I4de6c3cbdbdfbc79ed839ec149fb633344dcd3a7
2023-07-21 08:02:09 +00:00
Vania Januar
3a67c3e17f
Merge "USB firmware update for stylus in Stylus USI Device Details" into udc-qpr-dev am: bbf2dc4991
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/23221022
Change-Id: Ied0222e7235e2643553e7401ac9b4c0ece442cee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-20 16:22:47 +00:00
Vania Januar
bbf2dc4991
Merge "USB firmware update for stylus in Stylus USI Device Details" into udc-qpr-dev
2023-07-20 13:42:55 +00:00
Chaohui Wang
58f0ee30fc
Remove context from dashboardFeatureProvider
...
DashboardFeatureProviderImpl is created by using application context,
no need pass context in when get.
Bug: 286764889
Test: m Settings
Change-Id: Ia9672dfd9d3d71f64735cbc5979a6ad57c9429d3
2023-07-20 12:21:16 +08:00
Joshua Mccloskey
eb7692e052
Merge "Implement basic Fingerprint functionality." into udc-qpr-dev am: 1412f391d5
am: 22b67802f5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/23480676
Change-Id: I981accee2b7f0f3742c98d1b352d3076d421dede
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-18 17:28:29 +00:00
Joshua Mccloskey
22b67802f5
Merge "Implement basic Fingerprint functionality." into udc-qpr-dev am: 1412f391d5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/23480676
Change-Id: If0de6ed25832d88a049f82ad86485fb4b1d027e5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-18 16:45:52 +00:00
Joshua Mccloskey
1412f391d5
Merge "Implement basic Fingerprint functionality." into udc-qpr-dev
2023-07-18 16:16:52 +00:00
Vania Januar
986fe4ebc1
USB firmware update for stylus in Stylus USI Device Details
...
Bug: 288850921
Test: StylusUsbFirmwareControllerTest, UsbStylusBroadcastReceiverTest
Change-Id: Ic7cb35799ff00f9998ca569eb4ae091f8010780a
Merged-In: Ic7cb35799ff00f9998ca569eb4ae091f8010780a
2023-07-18 14:09:05 +00:00
Vincent Wang
855dc3b606
Merge "Remove ignore annotation @Ignore("b/282413778")" into main
2023-07-18 13:52:26 +00:00
Vania Januar
a7d9944090
Merge "USB firmware update for stylus in Stylus USI Device Details" into main
2023-07-18 09:16:13 +00:00