Daniel Norman
05924bf3e6
Simplifies serviceSupportsAccessibilityButton by checking service info.
...
This should also address a bug where this method used to only check
class name instead of package+class.
Bug: 264307062
Test: atest ToggleAccessibilityServicePreferenceFragmentTest
Change-Id: Ia5f602c6fbc1d23c88dc3d5076c701445b692887
2023-01-06 12:14:47 -08:00
Becca Hughes
5b7dc67d64
Merge "Add credential manager team to OWNERS" am: ce5d029670
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2361251
Change-Id: If599c23c05ab5eaf4a80a4b3a4acd0f3c6f78cd2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-06 20:05:01 +00:00
Becca Hughes
ce5d029670
Merge "Add credential manager team to OWNERS"
2023-01-06 20:03:13 +00:00
Bill Yi
8f67dfd0c6
[automerger skipped] Merge "Merge TQ1A.230105.002 to aosp-master - DO NOT MERGE" am: 2e7924abcf
-s ours
...
am skip reason: Merged-In I11c236f3901c9faaeb6c702678d330dde8f07f38 with SHA-1 ce2edfa3d4
is already in history
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2374606
Change-Id: I3051eb6db0fcb1e3ac1e2300f18461a297f789b4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-06 20:00:49 +00:00
Bill Yi
9be6f23a0c
[automerger skipped] Merge TQ1A.230105.002 to aosp-master - DO NOT MERGE am: 1883efae0a
-s ours
...
am skip reason: Merged-In I11c236f3901c9faaeb6c702678d330dde8f07f38 with SHA-1 ce2edfa3d4
is already in history
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2374606
Change-Id: I07d24876a3be08444cb4660b280565679cb5ab04
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-06 20:00:02 +00:00
lbill
ee6366761b
3-1/ Impl FoldProvider.FoldCallback for Face enroll activities
...
Create a mechanism to allow OEM config posture guidance with
'config_face_enroll_guidance_page', and customize the config
'config_face_enroll_supported_posture' with standard postures
0 : DEVICE_POSTURE_UNKNOWN
1 : DEVICE_POSTURE_CLOSED
2 : DEVICE_POSTURE_HALF_OPENED
3 : DEVICE_POSTURE_OPENED
4 : DEVICE_POSTURE_FLIPPED
For example, if we set 1 for the device, then device only
allow to enroll face in closed(folded) state, if device do
not in the allow state, we will prompt specific guidance
page activity defined in config_face_enroll_guidance_page.
At this stage , we only integrate 2 states OPENED/CLOSED through
ScreenSizeFoldProvider and register for onFoldUpdated() callback
- isFold(DEVICE_POSTURE_CLOSED): finish posture guidance
- !isFold(DEVICE_POSTURE_OPENED): launch posture guidance
- onActivityResult : reset mOnGuidanceShown false
1. Fix A11y lottie animation bug
2. Impl FoldProvider.FoldCallback
3. Register callback to ScreenSizeFoldProvider
4. Integrate back stack, skip, cancel events
- Back key : RESULT_CANCELED
- Skip btn : RESULT_SKIP
- Posture changed : RESULT_FINISHED
5. Set single instance for relative activities
6. FaceEnrollFoldPage listen for onConfigurationChanged()
7. Add empty face_posture_guidance_lottie.json for overlay
Test: atest SettingsGoogleUnitTests
Test: m -j SettingsGoogleRoboTests RunSettingsGoogleRoboTests
Test: m RunSettingsRoboTests ROBOTEST_FILTER= \
"com.android.settings.biometrics.face.FaceEnrollEducationTest"
Test: m RunSettingsRoboTests ROBOTEST_FILTER= \
"com.android.settings.biometrics.face.FaceEnrollIntroductionTest"
Test: Manual launch security settings face enroll, unfold device
and observe posture guidance showing fullscreen on top
Test: Fold device ensure the posture guidance activity finish
Bug: 261141826
Fixes: 231908496
Change-Id: Ib9f43f82f7d19f3f187c2f6f8984e76cd843afbc
2023-01-06 19:54:03 +00:00
Jing Ji
50490a35ec
Add a feature flag for the special access to the long background task
...
The entry should be hidden if the RUN_LONG_JOBS can't be toggled.
Bug: 255821578
Test: atest AppFilterRegistryTest
Test: make -j RunSettingsRoboTests \
ROBOTTEST_FILTER="LongBackgroundTasksDetailsTest|
LongBackgroundTasksDetailsPreferenceControllerTest"
Test: Manually check the Settings page
Change-Id: Ib1c58d93b40afefdf3ca666c661e213d01c542c6
2023-01-06 11:44:19 -08:00
Bill Yi
2e7924abcf
Merge "Merge TQ1A.230105.002 to aosp-master - DO NOT MERGE"
2023-01-06 19:33:51 +00:00
Gil Cukierman
58f946072d
Add Extra Exception Checks to Null Cipher Toggle
...
Adds broad exception safety to all TelephonyManager calls.
Without these extra catch blocks, the entire Settings app would
crash if a TelephonyManager API were to throw an exception.
Bug: 262914591
Test: atest NullAlgorithmsPreferenceControllerTest
Change-Id: I997a37fe71bf007d67989c89b3abe3e520d79d3c
2023-01-06 19:30:26 +00:00
lbill
1eee5eda6c
2-1/ Add config_suw_support_face_enroll to customize SUW face enroll flow
...
1. Add config_suw_support_face_enroll default is TRUE
2. Impl FaceFeatureProvider to obtain the config
3. Overlay config_suw_support_face_enroll by requirements
Test: Flash build and manual check if device go through face enroll in SUW
Bug: 262469686
Change-Id: I61aa5c818bedfb490f2172a7481f59fda7295c1a
2023-01-06 19:29:51 +00:00
Bill Yi
238b7b4620
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 2681d8cc05
-s ours am: 2d50872f81
-s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20872949
Change-Id: I9b8199044ea7bc30cc71ceba55113c551b06c972
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-06 19:05:06 +00:00
Bill Yi
d227fbe832
Merge "Import translations. DO NOT MERGE ANYWHERE"
2023-01-06 18:37:48 +00:00
Bill Yi
2d50872f81
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 2681d8cc05
-s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20872949
Change-Id: Ic705dd2a80e2a322142e1e91afa80ef0f00c0383
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-06 18:30:40 +00:00
Becca Hughes
6bd41f20c5
Fix settings bug (pt 2)
...
Follow on from ag/20862879 to keep track of prefs
so if the list of enabled providers is updated
we update the UI.
Bug: 253157366
Test: make & manual test
Change-Id: Ibf3c83fd445ced51a8cbea0113f12fc04002c23a
2023-01-06 17:23:56 +00:00
Bill Yi
1883efae0a
Merge TQ1A.230105.002 to aosp-master - DO NOT MERGE
...
Merged-In: I11c236f3901c9faaeb6c702678d330dde8f07f38
Merged-In: I3d784788884f9b80733786dc73d9bb62ffef817b
Change-Id: Iabf5075f225933cd03d2d2ac43b9821ecc9fb7c1
2023-01-06 15:26:15 +00:00
Bonian Chen
86b80b2508
[Settings] Reduce CDMA API access when not required
...
Avoid from accessing CDMA roaming API to reduce some latency on UI.
Bug: 264656126
Test: local
Change-Id: I5c74636d8418a379724676e1f854c8adff5d4387
2023-01-06 14:35:17 +00:00
Bonian Chen
7a714456fd
[Settings] Support of Primary IMEI feature
...
Present primary IMEI information when there're multiple.
Bug: 260188417
Test: local
Change-Id: I7817fed506f8fc4fabd94f004c9a74b2fab25e10
2023-01-06 13:22:18 +00:00
Bill Yi
7b9bce321b
[automerger skipped] Merge "Merge TQ1A.230105.002 to stage-aosp-master - DO NOT MERGE" into stage-aosp-master am: 182c397d37
-s ours am: 916adf4270
-s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20875054
Change-Id: I5f49f80829644f1760aa70cf47e91beb927304cc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-06 12:10:36 +00:00
Bill Yi
75297a152a
[automerger skipped] Merge TQ1A.230105.002 to stage-aosp-master - DO NOT MERGE am: c286104951
-s ours am: 5f3ffc5ec6
-s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20875054
Change-Id: I1bbce98aff2d31eb9cf7a19f73790c877c11e916
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-06 12:10:08 +00:00
Zaiyue Xue
e853dd3104
Change all the system items unclickable in battery usage list.
...
Bug: 264643763
Fix: 264643763
Test: manual
Change-Id: I5854f9517bfb308142cc5f3c5e5cd8f54a237d59
2023-01-06 19:42:46 +08:00
TreeHugger Robot
7c1efa29cc
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: a0d84081e2
-s ours am: c1ce13f040
-s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20872363
Change-Id: Ic69e4ac289cc3df6e1072770ee5f3ad95ae85097
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-06 11:39:52 +00:00
Bill Yi
68a8c8d2c3
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 38268df283
-s ours am: d53751548b
-s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20872363
Change-Id: If72f0f7e9f6eb8f33c839d64d5e8c54f01741ee5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-06 11:39:37 +00:00
TreeHugger Robot
024dc88ddc
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: 80404721aa
-s ours am: 5291d0476f
-s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20872362
Change-Id: I8e664557a9968208aa6c36ff466a0999737f8f45
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-06 11:39:22 +00:00
Bill Yi
cec23edebe
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 6480a5ff9c
-s ours am: 53f80eb54a
-s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20872362
Change-Id: Iab17c32c513b94691cf22b2d06d812f3058b903d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-06 11:39:18 +00:00
Grace Cheng
fb77440a6f
Merge "Updates sfps animations for natural orientation" into tm-qpr-dev am: 28d0e72a6d
am: 305fbd98db
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20860930
Change-Id: Ia3ffc6fadcec112adc45265bb6953881a9b02ca0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-06 11:36:09 +00:00
Vania Januar
0bcac61001
Merge "Intent to open USI device details page."
2023-01-06 11:30:53 +00:00
Vania Januar
ce93c656aa
Show None default app in stylus preference if no Notes holder.
...
This also fixes the role holder not updating when the
default role holder has changed.
Test: StylusDevicesControllerTest
Bug: 254834764
Change-Id: Iec7ed7698f18279da9a04918dcdf3e20e73609d1
2023-01-06 11:25:35 +00:00
Edgar Wang
f7a6d073f0
Set key for the SwitchPreferences of Connected devices > USB
...
Change-Id: Ib2fce60bf6843c8db2d45ebdd6bd576657aedeb8
Test: manual
2023-01-06 11:25:20 +00:00
Zaiyue Xue
833e47d851
[Battery usage U] [UI] Show total "Screen On Time" in the battery usage page
...
Screen record: https://drive.google.com/open?id=16ZOp1E2YBzWQXbnXl786FaLFPel-S9CF&authuser=0&resourcekey=0-oRqCrdTc9FZjVgsq9orhEw&usp=drive_link
For Arabic: https://drive.google.com/open?id=1zh_4jcUnqLC6CDgwju1qQkWJ0QCtm19c&authuser=0&resourcekey=0-kuKfDdOTWxqOUmD0RfPNLQ&usp=drive_link
Next step: show screen on time for each app
Bug: 258120710
Test: manual
Change-Id: I2085a2a85ebd50b2ac876972f6a8ebbf6f20246c
2023-01-06 19:09:52 +08:00
Ankita Vyas
3672fb4b85
AppClone: Changes in AppInfo page for cloned app.
...
- Hides preferences for cloneable apps under Cloned Apps page
- Displays Create option for cloneable apps under Cloned Apps page.
- Invokes CloneBackend on click of create and refreshes to display newly
cloned app's AppInfo page.
- Appends suffix 'clone' for cloneable/cloned app.
- Displays text 'Delete' instead of 'uninstall'.
Screencast: https://screencast.googleplex.com/cast/NjI3MDEyMjk1MzAxNTI5NnxhOTIxZDhiZC03Zg
Bug: 262375058
Test: make RunSettingsRoboTests -j64
Change-Id: I34018f6cc7420d2667c25fbca59c832b398d723e
2023-01-06 08:31:20 +00:00
Bill Yi
916adf4270
[automerger skipped] Merge "Merge TQ1A.230105.002 to stage-aosp-master - DO NOT MERGE" into stage-aosp-master am: 182c397d37
-s ours
...
am skip reason: Merged-In I77029014d72b8ac9b579357550f031bef20e32cb with SHA-1 8e2f0b970b
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20875054
Change-Id: I083e54e24f3894ef3d798bfafce6aa0b221091b2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-06 07:33:21 +00:00
Bill Yi
5f3ffc5ec6
[automerger skipped] Merge TQ1A.230105.002 to stage-aosp-master - DO NOT MERGE am: c286104951
-s ours
...
am skip reason: Merged-In I77029014d72b8ac9b579357550f031bef20e32cb with SHA-1 8e2f0b970b
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20875054
Change-Id: Ia8ed6202af921e0e4e4e175da868c7a7ef03fa10
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-06 07:32:54 +00:00
Zaiyue Xue
814eff1c24
Fix the inverted logic to judge whether an app is system app.
...
Bug: 264626206
Fix: 264626206
Test: maunal
Change-Id: I3750e3b11e444add27243c492cf8968373cd57d0
2023-01-06 15:24:44 +08:00
Bill Yi
182c397d37
Merge "Merge TQ1A.230105.002 to stage-aosp-master - DO NOT MERGE" into stage-aosp-master
2023-01-06 07:00:53 +00:00
Chaohui Wang
87e3064b33
Redirect to AppInfoSettings when SPA is on
...
From recently opened apps or when click app icon from some app info
pages.
Bug: 236346018
Test: Manually with Settings
Change-Id: Ia4e1789196875eb0d10fdb6363f0d65cb88cb563
2023-01-06 14:46:27 +08:00
Jason Hsu
ed2728073f
Merge "Fix preferences under Related category can not launch its own page in bluetooth device details page"
2023-01-06 06:27:03 +00:00
TreeHugger Robot
2462e490ab
Merge "Refine TetherSettings with ViewModel"
2023-01-06 03:38:49 +00:00
Chaohui Wang
7d7bcaf46f
Reload package info for each time enter App Info
...
So disable button and app settings preference status can be updated.
Bug: 236346018
Test: Manually with Settings
Change-Id: I4409cb25f9d959404653de665b55f65b3293c56b
2023-01-06 11:31:00 +08:00
Bill Yi
2681d8cc05
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Ic8d9f286c53e321a933d98f9c05bbc6bb8bf98f0
2023-01-05 18:07:21 -08:00
menghanli
3676d1b617
Exported A11y features blocked by IT admin can be bypassed using a11y shortcuts
...
Root cause: The IT admin dialog cannot be launched by framework features.
Solution: Allow framework features can launch the IT admin dialog to align the setting preference experience.
Bug: 254223085
Test: atest AccessibilityShortcutChooserActivityTest
Change-Id: I1c0ce8244d874049cc2799c580b2f79ece85d32d
2023-01-05 23:48:56 +00:00
TreeHugger Robot
c1ce13f040
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: a0d84081e2
-s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20872363
Change-Id: I3d784788884f9b80733786dc73d9bb62ffef817b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-05 20:37:46 +00:00
Bill Yi
d53751548b
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 38268df283
-s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20872363
Change-Id: I9cb72e3462a02722d9f8403bd44d9e19917b5e4e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-05 20:37:29 +00:00
TreeHugger Robot
5291d0476f
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: 80404721aa
-s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20872362
Change-Id: Ia554a744e24581000e42e6db0c57a0510b86fbf4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-05 20:37:16 +00:00
Bill Yi
53f80eb54a
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 6480a5ff9c
-s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20872362
Change-Id: I145c5cf356be12dcdec6bf677f7f8195cea9b3d2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-05 20:37:00 +00:00
Grace Cheng
305fbd98db
Merge "Updates sfps animations for natural orientation" into tm-qpr-dev am: 28d0e72a6d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20860930
Change-Id: Id161cb7489bc786288adf6fb578c0ed525264202
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-05 20:32:17 +00:00
TreeHugger Robot
a0d84081e2
Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev
2023-01-05 20:13:42 +00:00
TreeHugger Robot
80404721aa
Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev
2023-01-05 20:13:42 +00:00
TreeHugger Robot
d54c9cab7d
Merge "Import translations. DO NOT MERGE ANYWHERE"
2023-01-05 20:06:08 +00:00
TreeHugger Robot
2ff2a828f2
Merge "Import translations. DO NOT MERGE ANYWHERE"
2023-01-05 20:06:08 +00:00
TreeHugger Robot
2d35260ed4
Merge "Import translations. DO NOT MERGE ANYWHERE"
2023-01-05 20:06:08 +00:00