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
Treehugger Robot
b042f81e34
Merge "Remove context from userFeatureProvider" into main
2023-08-02 10:18:09 +00: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
Edgar Wang
f77ff76950
Make Quick setttings developer tiles searchable
...
Bug: 286365859
Test: manual verify
Change-Id: I2b3578d4aa80d48a4dcc29cfaac2f25089f0d4e8
2023-08-02 09:25:23 +00:00
Edgar Wang
a789e9214e
Merge "Fix when turn off "Ask for PIN before unpinning" we don't check the result of ChooseLockSettings" into main
2023-08-02 09:15:56 +00:00
Yu Chao (zhào-yò)
2b2dfebaff
Merge "Migrate VpnSettings from RestrictedSettingsFragment to RestrictedDashboardFragment." into main
2023-08-02 08:05:02 +00:00
Chaohui Wang
a2adee5362
Clean up unused WifiManager.ActionListener
...
Bug: 285231003
Test: m Settings
Change-Id: I84ec6a76e486df207140c0f5cbda1c6727fe4989
2023-08-02 15:08:04 +08:00
YK Hung
26b38e7d33
[automerger skipped] Merge "Implement the battery tips cards.(1/2)" into udc-qpr-dev am: 270b7ef18d
am: 42f0193b4b
-s ours
...
am skip reason: Merged-In I4443cdb21b3ba30900fc2f6fcc21c4c56dc1293f with SHA-1 c4ac74872b
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24124246
Change-Id: I4759df8246dd798ac07d7da260487af60ba20f2c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-02 05:04:50 +00: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
Charlotte Lu
710b3379e2
Merge "Password on wifi sharing screen is NOT monospace." into main
2023-08-02 03:04:47 +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
Austin Delgado
5fff00df87
Merge "Announce requirements when setting PIN/Pass" into udc-d1-dev am: c6e7b93f28
am: 35579efcaf
am: e4dc0e3762
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24270037
Change-Id: Ia67e88a989ed95b73c4bd4b695dc5ab18669919b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-02 00:34:35 +00:00
Austin Delgado
fefbdc7922
Merge "Announce requirements when setting PIN/Pass" into udc-d1-dev am: c6e7b93f28
am: 0abddc88bc
am: 2f1b844997
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24270037
Change-Id: I7929ac906d7661635604fcd7de5225db49ad6ae3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-02 00:32:39 +00:00
Austin Delgado
e4dc0e3762
Merge "Announce requirements when setting PIN/Pass" into udc-d1-dev am: c6e7b93f28
am: 35579efcaf
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24270037
Change-Id: Idb488912e4e85fbcc3f80472eb09e8ba06272500
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-01 23:47:45 +00:00
Austin Delgado
2f1b844997
Merge "Announce requirements when setting PIN/Pass" into udc-d1-dev am: c6e7b93f28
am: 0abddc88bc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24270037
Change-Id: I0d3fcbf3af5b717b76b9b07974b687ba770d89db
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-01 23:47:08 +00:00
Austin Delgado
35579efcaf
Merge "Announce requirements when setting PIN/Pass" into udc-d1-dev am: c6e7b93f28
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24270037
Change-Id: I5ffe93b5c0fe5a52ad841e5e5942363cf0a0d6dd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-01 23:06:10 +00:00
Austin Delgado
0abddc88bc
Merge "Announce requirements when setting PIN/Pass" into udc-d1-dev am: c6e7b93f28
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24270037
Change-Id: I706d8f22283ead587622a6d0fd4907a7b9e93f67
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-01 23:05:19 +00:00
Austin Delgado
c6e7b93f28
Merge "Announce requirements when setting PIN/Pass" into udc-d1-dev
2023-08-01 22:13:34 +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
Bill Yi
1366a72240
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: c1363443ee
-s ours am: 50d506b8b5
-s ours am: 7c0701c22d
-s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24272118
Change-Id: Ic31a5e4b7124f6937193272f4fb66a255d324343
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-01 19:00:11 +00:00
Bill Yi
22dd0bfaaf
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: c1363443ee
-s ours am: 6e91516467
-s ours am: c538b011d4
-s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24272118
Change-Id: Ia1806fe37a63b850dd2f58ff598cf4b17837be63
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-01 18:57:15 +00:00
Bill Yi
7c0701c22d
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: c1363443ee
-s ours am: 50d506b8b5
-s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24272118
Change-Id: I42dce3063ce163cf46588be791e3f76fa856cc35
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-01 18:25:46 +00:00
Bill Yi
c538b011d4
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: c1363443ee
-s ours am: 6e91516467
-s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24272118
Change-Id: I505508c012be9e45fdbb3eb7d56ab920433de749
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-01 18:12:27 +00:00
Oli Thompson
70a610ea39
Merge "Remove subtext on the password work challenge screen" into udc-qpr-dev am: 04854b1c65
am: ea18752f4a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/23782668
Change-Id: Ibb0f3930aecd2a12fa54124ccc1f1a7df8f4eb07
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-01 17:59:43 +00:00
Bill Yi
6e91516467
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: c1363443ee
-s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24272118
Change-Id: I5c7d3c5a75c697097736fa5108c8736c22b232eb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-01 17:46:09 +00:00
Elliot Sisteron
4688f3f642
Fix entrerprise strings replacement for Safety Center.
...
In ag/20641184, it looks like we changed the behavior to only replace
titles when in fact some strings were replacing the summary.
This causes some entries to have the summary as the title instead.
Bug: 283743216
Test: Manual
Change-Id: I7157fd04c32eebd89bdb825ccc3e8ef73c9075bf
2023-08-01 17:43:43 +00:00
Bill Yi
50d506b8b5
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: c1363443ee
-s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24272118
Change-Id: Idd9e4654e4bf946678c125de4ee2163e3cd6b4df
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-01 17:42:47 +00:00
Oli Thompson
ea18752f4a
Merge "Remove subtext on the password work challenge screen" into udc-qpr-dev am: 04854b1c65
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/23782668
Change-Id: I7ba3169002b1d7f7c010ca078d7a723b86788dbf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-01 17:17:00 +00:00
Oli Thompson
04854b1c65
Merge "Remove subtext on the password work challenge screen" into udc-qpr-dev
2023-08-01 16:31:03 +00:00
Jason Parks
bd6af1a484
Fix positive button when the click listener is not null.
...
Fixes changes made in ag/20171885:
https://screenshot.googleplex.com/4WeHHjy75A96wgf
https://screenshot.googleplex.com/3oQcLiY6AgYurB9
Bug: 252967902
Test: manual
Change-Id: I07985d540347c7b56982a90d386a5f93721344ea
2023-08-01 14:28:35 +00:00
Justin McClain
5f8aeeb9ef
Adding owners file.
...
Test: m
Change-Id: I0b32a9bc0e9be65b3d2ff0ac07d79baa05305205
2023-08-01 13:44:22 +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
Treehugger Robot
363d4b26b4
Merge "Implement the battery tips cards.(1/2)" into main
2023-08-01 12:39:09 +00:00
SongFerng Wang
f15c4c2fe5
Merge "Fix testcase failed" into udc-qpr-dev am: b2c60799af
am: b93774ab40
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24196278
Change-Id: If190cc993cf44254658d234289ad7b57dd8445dd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-01 12:20:38 +00:00
SongFerng Wang
b93774ab40
Merge "Fix testcase failed" into udc-qpr-dev am: b2c60799af
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24196278
Change-Id: I017d432a9abe3f141436f185c156838b393d3d58
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-01 11:39:35 +00:00
SongFerng Wang
b2c60799af
Merge "Fix testcase failed" into udc-qpr-dev
2023-08-01 10:55:39 +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
Charlotte Lu
98608f5ca6
Password on wifi sharing screen is NOT monospace.
...
Difficult to distinguish I from l in the password display on the wifi sharing screen.
Fix: 266182587
Test: Visual Test
Change-Id: Iea266fa17edcdf08f161429a44e6c24051084fdd
2023-08-01 08:52:16 +00:00
Yu Chao
f9ca569249
Migrate VpnSettings from RestrictedSettingsFragment to RestrictedDashboardFragment.
...
This is required for adding an overlay vpn_settings2.xml for Tips
Button.
Change-Id: I26531afe75215c9531c0122d2e86fd5d0da4d3db
Test: VpnSettingsTest
Bug: 24179552
2023-08-01 08:13:14 +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