Zoey Chen
9635d1cf45
Merge "[Regional Preference] Add description for checked/not checked" into udc-qpr-dev
2023-08-04 02:20:11 +00:00
Justin McClain
1f656a8734
Merge "Adding test directory owners file." into main am: e354820db7
am: b3c19b8057
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2692366
Change-Id: I9f74c2572c5fa47fb369679093bc5d6163169f0c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-04 01:43:57 +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
Justin McClain
1b19dd472e
Adding test directory owners file.
...
Test: m
Change-Id: Icbf936ab1b2da5269eb41c2c04001a6a6ff41a3a
2023-08-03 12:54:32 +00:00
Zoey Chen
bebaec607e
Merge "[Regional Preference] Add description for checked/not checked" into main
2023-08-03 11:30:42 +00:00
Zoey Chen
0f70d8d690
[Regional Preference] Add description for checked/not checked
...
Bug: 288223637
Test: make RunSettingsRoboTests -j128 ROBOTEST_FILTER=LocaleListEditorTest
Change-Id: I0d1a2de93ad2911c555acef2f4e00cd715c62f17
2023-08-03 04:46:41 +00:00
Yanting Yang
f5e74b8f49
Merge "Support App details for work profile apps" into main
2023-08-02 20:12:32 +00:00
Zoey Chen
1688c57226
[Regional Preference] Add description for checked/not checked
...
Bug: 288223637
Test: make RunSettingsRoboTests -j128 ROBOTEST_FILTER=LocaleListEditorTest
Change-Id: I0d1a2de93ad2911c555acef2f4e00cd715c62f17
Merged-In: I0d1a2de93ad2911c555acef2f4e00cd715c62f17
2023-08-02 13:18:42 +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
Treehugger Robot
6a0adf823c
Merge "Update the incompatible charging banner tip icon" into udc-qpr-dev am: 103adb753a
am: 5058935211
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24276935
Change-Id: Ia625b2356fa07e3264539f31c1239fea977b307f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-02 05:04:01 +00:00
YK Hung
f6a7b7c349
Merge "Add cache strategy for getUsageSource()." into udc-qpr-dev am: 1b43697eb8
am: 5964c972fa
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24236476
Change-Id: If040bea85d7eb72805175f2585e1155100d5eb6b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-02 05:02:44 +00: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
YK Hung
42f0193b4b
Merge "Implement the battery tips cards.(1/2)" into udc-qpr-dev am: 270b7ef18d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24124246
Change-Id: I657cab61453b5f7708fcf305d1a9611d3022c4d6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-02 04:26:29 +00:00
Treehugger Robot
5058935211
Merge "Update the incompatible charging banner tip icon" into udc-qpr-dev am: 103adb753a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24276935
Change-Id: Icda113c650b9544ae8218436fdd0a511f76d2aba
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-02 04:23:14 +00:00
YK Hung
5964c972fa
Merge "Add cache strategy for getUsageSource()." into udc-qpr-dev am: 1b43697eb8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24236476
Change-Id: I658e16b80d85c9e7022d57e8f960f11d5e5cd6dc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-02 04:21:53 +00:00
YK Hung
270b7ef18d
Merge "Implement the battery tips cards.(1/2)" into udc-qpr-dev
2023-08-02 03:30:08 +00:00
Treehugger Robot
103adb753a
Merge "Update the incompatible charging banner tip icon" into udc-qpr-dev
2023-08-02 03:26:19 +00:00
YK Hung
1b43697eb8
Merge "Add cache strategy for getUsageSource()." into udc-qpr-dev
2023-08-02 03:23:11 +00:00
Chaohui Wang
c3e68fabe6
Remove PreferenceXmlParserUtils deprecated methods
...
Bug: 293810334
Test: m Settings
Change-Id: I5456b95dfe4c26dc675b205d67b1db009ee73193
2023-08-02 10:16:31 +08:00
ykhung
69f46a72fc
Update the incompatible charging banner tip icon
...
Update the incompatible banner tip icon based on the UX update:
https://screenshot.googleplex.com/8ApTNJnsxRRufjQ
Fix: 246960554
Test: make test RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.fuelgauge
Change-Id: I060554c17b3825b38004fb643c0a0cdf5fdbed4d
2023-08-02 02:05:15 +00:00
Wenhui Yang
cf8ba456bb
Add bp subtitle for WiFi sharing
...
Move the screen lock message selection logic to Utils and update the
related strings as suzannechen@ suggested.
Test: manual (see bug)
Test: atest UtilsTest
Fixes: 291307701
Change-Id: I346c25426395eea1320edc07ce2d962efeb8daa6
2023-08-01 21:11:33 +00:00
Yanting Yang
6b02225810
Support App details for work profile apps
...
App info page stopped supporting the App details feature for work
profile apps in Android N but there is no exact reason from the history.
Try supporting it again to fulfill users' requests and check for
exceptions.
Bug: 264932611
Test: manual & robo and unit tests
Change-Id: I1227cff5e25313905952ba54ab0270cdf4f00fd4
2023-08-01 20:49:24 +08:00
Felix Stern
e8de480865
Adjusted Settings to use updated internal InputMethodManager methods
...
IMM#isStylusHandwritingAvailableAsUser, IMM#getEnabledInputMethodListAsUser, and IMM#getEnabledInputMethodSubtypeListAsUser use now UserHandle instead of userId. These internal APIs are used in Settings and are updated.
Test: atest android.view.inputmethod.cts.installtests.MultiUserTest
Fix: 283765791
Change-Id: Iedb301fbe26810f2101cbb2669b8be95b87a3e7f
2023-08-01 11:53:47 +00:00
mxyyiyi
c4ac74872b
Implement the battery tips cards.(1/2)
...
Bug: 291689623
Test: Manual
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3ff665bd3292986030fdd8a3689b35bbf6f5a615 )
Change-Id: I4443cdb21b3ba30900fc2f6fcc21c4c56dc1293f
2023-08-01 10:49:01 +00:00
mxyyiyi
be8407c566
Implement the battery tips cards.(1/2)
...
- Implement a tips card UI in Battery Usage.
[Screenshot]:
- Tips Card with thumbs-up/down feedback in dark mode
https://screenshot.googleplex.com/3nRCFYvLTWfiYYT
- Tips Card without feedback
https://screenshot.googleplex.com/B7QGRJZAHzgWpCP
- Tips Card in Force RTL layout
https://screenshot.googleplex.com/8crQdj8ao26pKpH
- Tips Card in light mode
https://screenshot.googleplex.com/885aVvZm8xmhK2S
[TODO]:
- Add accessibility
- Localization
Bug: 291689623
Test: Manual
Change-Id: I4443cdb21b3ba30900fc2f6fcc21c4c56dc1293f
Merged-In: I4443cdb21b3ba30900fc2f6fcc21c4c56dc1293f
2023-08-01 09:49:19 +00:00
Kuan Wang
64177774e2
Add cache strategy for getUsageSource().
...
Cache usage source into SharedPreferences when phone is booting to avoid
calling it too frequently.
It should be safe because the usage source can only change on reboot.
Bug: 293366011
Test: make RunSettingsRoboTests
Change-Id: I35c07539d294737c5764b03b746cfb39f4ce008d
2023-08-01 14:36:58 +08:00
Chaohui Wang
d01245e75b
Convert DataUsageLib to Kotlin
...
For better null safe.
Also add unit tests.
Fix: 290698845
Fix: 290684887
Test: unit test
Test: manual - on Mobile Settings page
Change-Id: I9c9edb9b7cbf7d688a885e5c36b61bd6dc526add
2023-07-31 01:22:58 +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
9cba6cf4b9
Merge "[3/n] Add aspect ratio app info page" into udc-qpr-dev am: 386b02e906
am: e5e57a8d9e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/23819685
Change-Id: I0a880774214c804f2c22fb7aa876c39349e71b62
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-28 19:32:46 +00:00
YK Hung
d8f0731f60
Merge "Fix inconsistent connected without charging state in the Settings" into udc-qpr-dev am: 296322ad47
am: 4b1d5b8e8e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24219784
Change-Id: I11be4dc1c925f0100183d842fe2d2b3a13ae2741
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-28 19:21:21 +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 Putri
e5e57a8d9e
Merge "[3/n] Add aspect ratio app info page" into udc-qpr-dev am: 386b02e906
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/23819685
Change-Id: I5f187502bc04d21629bdc1b434f74497f9def14a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-28 18:21:45 +00:00
Evan Chen
7ff813073a
Add tag for associationInfo
...
Bug: 289241123
Test: cts test
Change-Id: I52c4fdeaa7eefa008676a3fe902dd470c36f1dc1
2023-07-28 18:18:53 +00:00
YK Hung
4b1d5b8e8e
Merge "Fix inconsistent connected without charging state in the Settings" into udc-qpr-dev am: 296322ad47
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24219784
Change-Id: I866b3a26f917feb79371cb4d9ff5a086cdb16c6b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-28 18:08:22 +00:00
Graciela Putri
1f1c2a7db9
Merge "[4/n] Add fullscreen option in user aspect ratio settings" into udc-qpr-dev
2023-07-28 13:15:52 +00:00
Graciela Putri
386b02e906
Merge "[3/n] Add aspect ratio app info page" into udc-qpr-dev
2023-07-28 13:14:03 +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
Graciela Wissen Putri
57984f02d5
[3/n] Add aspect ratio app info page
...
Apps > App Info > Advanced > Aspect ratio
Adds link from aspect ratio app list page to app info. Stops activity if
user chooses a different aspect ratio override.
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: 287448187
Test: Manual
All Settings CUJs passed
atest SettingsRoboTests:UserAspectRatioDetailsTest
atest SettingsSpaUnitTests:UserAspectRatioAppPreferenceTest
Change-Id: Id47f291459e62267bf15d629c163dde73d96928a
2023-07-28 09:53:11 +00:00
YK Hung
296322ad47
Merge "Fix inconsistent connected without charging state in the Settings" into udc-qpr-dev
2023-07-28 05:53:16 +00:00
Treehugger Robot
98b806b999
Merge "Fix WifiScanWorkerTest tests failed" into main
2023-07-28 01:57:35 +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
Weng Su
903d3e6409
Fix WifiScanWorkerTest tests failed
...
- @Mock WifiManager class for WifiTrackerLib
Bug: 292993539
Test: Manual test
make RunSettingsRoboTests -j56 ROBOTEST_FILTER=com.android.settings.wifi.slice.WifiScanWorkerTest
Change-Id: I01758cf5043f6dc9b08bd06f4a72d9232b2ad8ed
2023-07-27 21:25:29 +08:00
Avinash Vadlamudi
0fe62fa541
Merge "Remove redundant code of setting the DeviceConfig overrides" into udc-qpr-dev am: 4e460ed41e
am: fea57771ad
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24099788
Change-Id: Icfb7379fab2fc973045c4cc381ae577468f1f92d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-27 11:42:35 +00:00
Avinash Vadlamudi
fea57771ad
Merge "Remove redundant code of setting the DeviceConfig overrides" into udc-qpr-dev am: 4e460ed41e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24099788
Change-Id: If440d5c2a6e65a760af7836b180e443c420a5991
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-27 11:00:07 +00:00
ykhung
0610d2b682
Fix inconsistent connected without charging state in the Settings
...
Make the "connected, not charging" state condition is the same between
Settings main page (in the TopLevelBatteryPreferenceController), and
sub- battery settings page (in the BatteryHeaderPreferenceController).
https://source.corp.google.com/h/googleplex-android/platform/superproject/main/+/main:packages/apps/Settings/src/com/android/settings/fuelgauge/BatteryHeaderPreferenceController.java;l=116-119
Fix: 285204150
Test: make RunSettingsRoboTests -j40
Change-Id: I9b09d521ca71b18e180c779f1a048d1ea4ba161a
2023-07-27 08:21:49 +00:00
Treehugger Robot
6e43b13cb8
Merge "[BiometricsV2] Refine ErrorDialogViewModelTest" into main
2023-07-27 02:13:09 +00:00
Chris Antol
b95ceb53ba
Merge "Storage Apps Lists SPA migration" into main
2023-07-26 19:00:40 +00:00
Avinash Vadlamudi
5567bdbfb3
Remove redundant code of setting the DeviceConfig overrides
...
- The auto pin confirm feature is now always available: (ag/23288037)
Bug: 291146670
Test: atest ChooseLockPasswordTest
Test: atest AutoPinConfirmPreferenceControllerTest
Change-Id: I6b9337dfee5d84ffdd3391f7b424377d640d451c
2023-07-26 17:51:13 +00:00
Treehugger Robot
35d8c4fcdf
Merge "Disable FontWeightAdjustmentPreferenceControllerTest" into main
2023-07-26 13:18:28 +00:00