Commit Graph

118399 Commits

Author SHA1 Message Date
TreeHugger Robot
a4f8010043 Merge "Add DataProcessManager to manage the async tasks of battery usage data processing." 2022-12-19 06:13:43 +00:00
Ankita Vyas
da69b2597b Merge "AppClone: Do not show work tab in Cloned Apps page" 2022-12-19 05:40:53 +00:00
Kuan Wang
8d2a26caed Add DataProcessManager to manage the async tasks of battery usage data
processing.

Test: make RunSettingsRoboTests + manually
Bug: 260964903
Change-Id: Id3b2772a98ec2ab3b03910c8a5e81adf7ccd5646
2022-12-19 03:40:48 +00:00
Chaohui Wang
16e6c4abb6 Merge "Refactor AppNotificationRepository" 2022-12-19 03:27:03 +00:00
Kuan Wang
cf7e1141df Cancel data loading when hourly job happens in the first 40 minutes
after booting in AOSP.

Test: make RunSettingsRoboTests + manual
Bug: 257384343
Change-Id: I437b68719ff5ece73fa33b74cb144f4262528e8c
2022-12-19 02:36:07 +00:00
TreeHugger Robot
269b14fb45 Merge "Add Credential Manager settings" 2022-12-19 02:23:43 +00:00
TreeHugger Robot
e0f3a47577 Merge "Add RECEIVER_EXPORTED for internal intent based on the PSA" 2022-12-19 00:02:44 +00:00
ykhung
b41b50c3dc Add RECEIVER_EXPORTED for internal intent based on the PSA
Test: presubmit
Change-Id: I699f1e93cf8c44b046f131014d6200346798336e
2022-12-19 00:07:27 +08:00
Chaohui Wang
b760ffdc1a Refactor AppNotificationRepository
Also add unit tests.

Bug: 236346018
Test: Manual with Settings App
Change-Id: Idf3fbcb3dff2cbee9039ff67b5c0f09133f9ff86
2022-12-18 19:47:32 +08:00
Bill Yi
7ff31436b7 Merge "Import translations. DO NOT MERGE ANYWHERE" 2022-12-18 03:06:33 +00:00
Bill Yi
1633913e2a [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: 9020747917 -s ours am: b0955301eb -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20754698

Change-Id: I792e331071270b3fcf15474f4a0a9b13b68ecc64
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-17 03:16:59 +00:00
Bill Yi
39a20c16ae [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: d66bae69fc -s ours am: 5a66983019 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20754698

Change-Id: Ia1ece8d497a28fc0fc40807904c99323c71bcc0f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-17 03:16:39 +00:00
Bill Yi
b0955301eb [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: 9020747917 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20754698

Change-Id: I46fba36a7bcc8f6ba96375b2c9f08872bbd71f23
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-17 02:36:11 +00:00
Bill Yi
5a66983019 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: d66bae69fc -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20754698

Change-Id: Ia769220dd82f6662552d7a998adfa8d7a8ac0e1c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-17 02:35:51 +00:00
Bill Yi
9020747917 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-12-17 01:44:00 +00:00
Becca Hughes
8c6f627a93 Add Credential Manager settings
Autofill is evolving into CredMan which means we need
to update the settings to have CredMan providers.

This CL adds CredMan equivalent classes to list the
Credential Manager providers and allow the user
to select a number of providers.

Test: Manual & atest SettingsUnitTests & make RunSettingsRoboTests -j
Bug: 253157366

Change-Id: Ice76187cfee91d844d211205b44b661acf2f6a44
2022-12-16 22:16:12 +00:00
Gil Cukierman
cae1834631 Merge "Add toggle to allow or disable null algorithms" 2022-12-16 21:16:17 +00:00
Eric Biggers
4e337fe522 Merge "Remove EncryptionInterstitial for Full Disk Encryption" 2022-12-16 18:55:41 +00:00
Dominik Maier
2f81c06361 Add toggle to allow or disable null algorithms
This adds the allow null algorithms toogle to the Settings UI.

If supported by the smartphone baseband, the toggle allows users to opt
out of null algorithms, unencrypted cellular communication, for all
cellular generations.

This toggle is behind a feature flag that is off by default. It also
requires radio network HAL 2.1 or later to show.

Co-authored-by: Gil Cukierman <cukie@google.com>
Bug: b/237529943
Test: atest NullAlgorithmsPreferenceControllerTest
Test: adb shell device_config put cellular_security
enable_null_cipher_toggle true; // On cuttlefish, you can now see the
toggle in SIM settings.

Change-Id: Ia03cceee5463171ca455fa0624b911e06f222d2d
2022-12-16 16:29:49 +00:00
Bonian Chen
13632ab0d0 Merge "[Settings] Code refactor - reuseable layout extration" 2022-12-16 15:10:44 +00:00
Zoey Chen
d9f2de7abb Merge "[Settings] 1. Provision status checking of eSIM 2. Show SIM if isOpportunistic is false" 2022-12-16 14:08:43 +00:00
Vania Januar
5a5dc81fd3 Merge "USI Stylus settings Fragment." 2022-12-16 13:32:48 +00:00
Zoey Chen
e40a3ca111 [Settings] 1. Provision status checking of eSIM 2. Show SIM if isOpportunistic is false
Bug: 262679983
Bug: 257120311
Test: manual
Change-Id: I67acd7d6e261d67271438f78ce1a87e90362e0b6
2022-12-16 11:25:04 +00:00
TreeHugger Robot
c3d11c8f6a Merge "Purging battery diff data before calculating perctage and sort." 2022-12-16 10:54:43 +00:00
Vania Januar
44cb400f95 USI Stylus settings Fragment.
The USI stylus settings fragment shows specific preferences
for USI stylus devices only.

There is currently no way to access this fragment from the UI.

Bug: 251201006
DD: go/stylus-connected-devices-doc
Test: StylusUsiHeaderControllerTest
Change-Id: I18223abc8113dce977f57f930ba701da0a34cc18
2022-12-16 10:11:42 +00:00
Bonian Chen
d68d0df940 [Settings] Code refactor - reuseable layout extration
This is a change to extract EID layout for easily moving it to somewhere
else.

Bug: 260540995
Test: local
Change-Id: Ic7eb257d8d6b30564bc1a63c9b35676784c13d81
2022-12-16 09:18:19 +00:00
TreeHugger Robot
11a4853410 Merge "Safely remove Wi-Fi user credentials" 2022-12-16 08:44:57 +00:00
Zaiyue Xue
b9b3dcc0fb Purging battery diff data before calculating perctage and sort.
Bug: 261820602
Test: manual
Change-Id: I958995721238f32d0360861559ca5e1938ce6d3a
2022-12-16 16:24:12 +08:00
Weng Su
0e15574e84 Merge "Create Helper Classes for WifiTrackerLib" 2022-12-16 08:18:14 +00:00
Chaohui Wang
9e32ea9d0c Merge "Move AppItem into AppListModel" 2022-12-16 07:27:04 +00:00
YK Hung
0645cbbbea [automerger skipped] Merge "Move setup optimization mode to main thread" into tm-qpr-dev am: 3aca71cfc2 am: ea082976a6 -s ours
am skip reason: Merged-In I2de2181321712f89fadc04bf5000aea91a01485a with SHA-1 7423f4390c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20742652

Change-Id: I346ec2ca57ae384a3b58b3d33c4498c642a4c50a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 06:06:35 +00:00
YK Hung
0b826de287 Merge "Update dock defender helper URL" into tm-qpr-dev am: c89f78c68f am: e7ec6ee025
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20742827

Change-Id: I9db48b168b17dc7d7de50f9af15b9bf27f9419c8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 06:06:08 +00:00
YK Hung
a8e2ded389 Merge "Update string for all defenders" into tm-qpr-dev am: d388dc1809 am: cf8ab7eef3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20743066

Change-Id: I3ef80837be675684e595f47cfe886a198992d167
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 06:04:43 +00:00
TreeHugger Robot
f8b8835761 Merge "Refactor getting allowlist set from feature provider." 2022-12-16 05:45:52 +00:00
YK Hung
ea082976a6 Merge "Move setup optimization mode to main thread" into tm-qpr-dev am: 3aca71cfc2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20742652

Change-Id: I78b78a50b032cacfa2ab4180e594018556d0377b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 05:25:05 +00:00
YK Hung
e7ec6ee025 Merge "Update dock defender helper URL" into tm-qpr-dev am: c89f78c68f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20742827

Change-Id: I7d3f436b5e7da6c380402014813d0233c55b0b06
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 05:24:33 +00:00
YK Hung
cf8ab7eef3 Merge "Update string for all defenders" into tm-qpr-dev am: d388dc1809
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20743066

Change-Id: I271e279c86e90360b9fae18f96dc8c913f9f430f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 05:23:35 +00:00
YK Hung
3aca71cfc2 Merge "Move setup optimization mode to main thread" into tm-qpr-dev 2022-12-16 04:53:06 +00:00
YK Hung
c89f78c68f Merge "Update dock defender helper URL" into tm-qpr-dev 2022-12-16 04:52:18 +00:00
YK Hung
d388dc1809 Merge "Update string for all defenders" into tm-qpr-dev 2022-12-16 04:51:46 +00:00
Treehugger Robot
3b583fc371 Merge "Override onTrimMemory to apply trimMemory in AppIconCacheManager" am: 8ac09942b6 am: a8abd64b73 am: 691ddd7f07
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2311766

Change-Id: Ic3b54cb856ddf73f379db99404449aeb5980cc17
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 04:47:12 +00:00
Treehugger Robot
691ddd7f07 Merge "Override onTrimMemory to apply trimMemory in AppIconCacheManager" am: 8ac09942b6 am: a8abd64b73
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2311766

Change-Id: I5d95061c4a22b21b003ffdc2272da8d15ab64b8e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 04:38:44 +00:00
Bill Yi
d66bae69fc Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9f902b8eb62ecf275d0b28869ee2fb7cad3c88e4
2022-12-15 20:33:51 -08:00
Bill Yi
b51c2c3fa1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib08c97638167c98333f7b6ee2c275d7562da185b
2022-12-15 20:30:34 -08:00
Treehugger Robot
a8abd64b73 Merge "Override onTrimMemory to apply trimMemory in AppIconCacheManager" am: 8ac09942b6
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2311766

Change-Id: I232c7163792ffe2643c0706075ea49f3aa0841ea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 04:02:45 +00:00
TreeHugger Robot
d47234fb7d Merge "Remove unused strings." 2022-12-16 04:00:00 +00:00
Treehugger Robot
8ac09942b6 Merge "Override onTrimMemory to apply trimMemory in AppIconCacheManager" 2022-12-16 03:44:18 +00:00
Zaiyue Xue
bce700f1db Refactor getting allowlist set from feature provider.
(1) Use Set<CharSequence> for all the allowlists.
(2) The contains() method of Set<CharSequence> also works for String. No
    need an extra contains() util function.

Bug: 262802531
Fix: 262802531
Test: presubmit
Change-Id: Ib2aaf9a3b8db4618a8c46f138e8d35f15b77c104
2022-12-16 10:39:26 +08:00
Bill Yi
f164782792 Merge "Import translations. DO NOT MERGE ANYWHERE" 2022-12-16 02:18:14 +00:00
Bill Yi
67bd2277c7 Merge "Import translations. DO NOT MERGE ANYWHERE" 2022-12-16 02:18:14 +00:00