Commit Graph

139365 Commits

Author SHA1 Message Date
Matías Hernández
4267835c15 Merge "Populate new fields in modes created via Settings" into main 2024-03-27 09:55:24 +00:00
Jason Chiu
2dc76ee9fe [Safer intents] Device info
To avoid implicit intents, make intents launch explicitly.

Bug: 323061508
Test: build
Change-Id: I053372e15f6353578b7646e17f0a8205728945be
2024-03-27 17:51:59 +08:00
Manish Singh
1236e94cf4 Merge "Rename the name of private profile creation from Settings" into main 2024-03-27 09:43:47 +00:00
Treehugger Robot
a2d95c9a9c Merge "ApnSettingsActivity shows the ActionBar" into main 2024-03-27 09:41:59 +00:00
Josh Hou
544fed5291 Merge "Aggregation checkbox and locale text" into main 2024-03-27 09:20:05 +00:00
Fan Wu
4f807b7b9f Merge "Ignore failing tests to unblock presubmit" into main 2024-03-27 09:04:03 +00:00
SongFerng Wang
f1c9cb8fec Merge "Fix the primary sim setup after the psim enabled" into main 2024-03-27 09:00:38 +00:00
Jason Chiu
7f344f53f6 [Safer intents] Credentials
To avoid implicit intents, make intents launch explicitly.

Bug: 323061508
Test: build
Change-Id: I236b6214e761574c82a81b4a7e068f617eae5e9d
2024-03-27 07:58:31 +00:00
Fan Wu
0a0e591b96 Ignore failing tests to unblock presubmit
Bug: 331324279

Test: atest
Change-Id: Ia38c223ac7aa4aed2739a0fd371c7496811d2054
2024-03-27 15:37:45 +08:00
Tom Hsu
19058a2493 Merge "Fix crash due to incompatible type" into main 2024-03-27 05:55:07 +00:00
Sunny Shao
e6104d7546 ApnSettingsActivity shows the ActionBar
- Use the Theme.Settings.NoActionBar
- Update test cases

Fixes: 331308440
Test: atest com.android.settings.UtilsTest SettingsActivityTest
Change-Id: Ica93e765690707654ae651261ac8d236ed8e1d58
2024-03-27 13:45:28 +08:00
Treehugger Robot
e14c8e1def Merge "Revert "ApnSettingsActivity shows the ActionBar"" into main 2024-03-27 02:10:20 +00:00
Jason Chiu
d2b586c939 Merge "[Safer intents] Accessibility" into main 2024-03-27 02:03:11 +00:00
Jason Chiu
1908551cc2 Merge "[Safer intents] System" into main 2024-03-27 02:02:26 +00:00
Sasha Kuznetsov
39d4b434cb Revert "ApnSettingsActivity shows the ActionBar"
This reverts commit 5a7f5a0931.

Reason for revert: seems to cause b/331379466 according to the culprit range search

Change-Id: I6ab2474864d43a1a8bcb50de5bc9ab5c0ac08f4e
Bug: 331379466
2024-03-27 00:57:00 +00:00
Hakjun Choi
7a4d0284cc Add carrier satellite feature flag into filter out logic in Settings
Null object reference exception happend when carrier satellite feature is disabled. whille filtering out satellite plmns from scanned plmns

Bug: 331182758
Test: atest NetworkSelectSettingsTest, manually test with feature enabled/disabled on pixel
Change-Id: I394e86ee9c26efdc9920006e0b8ca015500d5162
2024-03-27 00:23:03 +00:00
Chris Antol
15ff73e825 Merge "Restrict Settings Homepage prior to provisioning" into main 2024-03-27 00:09:37 +00:00
Varun Shah
517bc0c8db Merge "Hide the Perform Backup Tasks Settings page." into main 2024-03-26 23:07:42 +00:00
Jigar Thakkar
07b384fe25 Merge "Use allowPrivateProfile to guard BiometricFragment changes" into main 2024-03-26 21:57:28 +00:00
Becca Hughes
63df5fd306 Adjust left margin on button
The left margin on the button is not quite
aligned with the text so this adjusts it so
it is aligned.

https://screenshot.googleplex.com/Bxjuc3LHCTw7TYD

Bug: 327491503
Change-Id: I16e9ddfa3b2b0648a4dc04a2bbfdf164d6c30a33
Test: flash bluejay
2024-03-26 20:55:07 +00:00
Marcus Ge
660defe7a6 Merge changes I60d2b23a,I7cb15a46 into main
* changes:
  [Accessibility] Color Contrast address talkback bugs
  [Accessibility] Color Contrast address UX bugs
2024-03-26 20:26:10 +00:00
Faye Yan
d3584a02f5 Merge "UX updates in Settings for unrestricting permissions." into main 2024-03-26 19:16:52 +00:00
marcusge
9ec6673b3f [Accessibility] Color Contrast address talkback bugs
Test: local raven device
Bug: 329352987
Bug: 329192396
Bug: 329187057
Flag: aconfig
com.android.settings.accessibility.enable_color_contrast_control

Change-Id: I60d2b23acb2e406db15f348ba7881577e55a8868
2024-03-26 19:08:42 +00:00
Joseph Vincent
f58eeaaf15 Merge "Change icon for Private Space unlocked and setup success toast" into main 2024-03-26 19:04:11 +00:00
Joshua McCloskey
199d75b332 UDFPS Enrollment Refactor (1/N)
This CL creates a few necessary components that are needed to create the
UI

Test: adb shell device_config put biometrics_framework com.android.settings.flags.fingerprint_v2_enrollment true
Bug: 297082837

Change-Id: I17c4f65fdeac4ebf3c19ba69f5928787b5ace52e
2024-03-26 18:13:54 +00:00
songferngwang
b6424f9146 Fix the primary sim setup after the psim enabled
The psim is not loaded, the active subscriptionInfo is not changed

Bug: 329031686
Test: verify 10 times  passed.
Change-Id: Idf70aaac8571af8501becb94689f4ae447e8771d
2024-03-26 16:54:04 +00:00
Treehugger Robot
8fca2a6180 Merge "Fix button insufficient contrast ratio problem" into main 2024-03-26 16:53:25 +00:00
Jigar Thakkar
eb612580d8 Use allowPrivateProfile to guard BiometricFragment changes
The BiometricPrompt API setAllowBackgroundAuthentication is
now guarded by allowPrivateProfile flag. This change ensures the
references to this API are flagged by the same flag, and the uber
private space implementation flag - enablePrivateSpaceFeatures, as
well.

Bug: 312184187
Test: Tested by flashing changes on a test device
Flag: Flags.ALLOW_PRIVATE_PROFILE
Change-Id: Icfdc5a2c2f07177c25fa3d545837052209b76551
2024-03-26 16:02:33 +00:00
Angela Wang
85f933f056 Fix button insufficient contrast ratio problem
Apply textColorSecondary as the tint color for the arrow icon to prevent
insufficient contrast ration problem under light theme.

Bug: 331139289
Test: manually check the UI
Change-Id: I010a6129cdd7bf11840421abc5f53156433b6708
2024-03-26 13:23:10 +00:00
Manish Singh
0da5ddf2bc Merge "Statically inlcude the frameworks flags lib" into main 2024-03-26 11:31:47 +00:00
Chaohui Wang
620dc89fbd Merge "Set ComposePreference non selectable" into main 2024-03-26 11:08:05 +00:00
Treehugger Robot
1f7028de47 Merge "ApnSettingsActivity shows the ActionBar" into main 2024-03-26 10:55:40 +00:00
Chaohui Wang
17c3d28275 Set ComposePreference non selectable
To enable keyboard function.

Fix: 330776587
Test: manual - on System
Change-Id: Ia658c279b1282b3dcd67b1d143f018413f3b6a0c
2024-03-26 17:14:12 +08:00
Faye Yan
ff6c0b3fcb UX updates in Settings for unrestricting permissions.
Bug: 331266942
Test: presubmit
Change-Id: I4fba9f8e75a61d59c07a371581dc6f8fa10795e1
2024-03-26 09:14:07 +00:00
Jason Chiu
c53a73ef70 [Safer intents] Connectivity
To avoid implicit intents, make intents launch explicitly.

Bug: 323061508
Test: build
Change-Id: I44ff8a789d933f11ba7e68e52055575245276224
2024-03-26 16:44:48 +08:00
Sunny Shao
5a7f5a0931 ApnSettingsActivity shows the ActionBar
- Use the Theme.Settings.NoActionBar
- Settings use the CollapsingToolbar and
  don't need the old style toolbar.

Fixes: 331308440
Test: manual test
Change-Id: Ieb9acd858f5a8993f30547c3c8c3c2ab3a5865af
2024-03-26 16:32:06 +08:00
Chaohui Wang
f1741ee273 Merge "APN label for radio button" into main 2024-03-26 07:35:32 +00:00
Chun-Ku Lin
2664bb004d Merge "Rename AccessibilityGestureNavigationTutorial to AccessibilityShortcutsTutorial" into main 2024-03-26 06:47:03 +00:00
Zoey Chen
4fe6c0e4ce Merge "[ToA] Should strip u extension when check locale" into main 2024-03-26 06:31:09 +00:00
Vincent Wang
4e5acef79d Merge "Fix Settings crash after clicking "Add Fingerprint"" into 24D1-dev am: 8cc6c89e4b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/26681904

Change-Id: I4ccd41db93333e632323dd50e7623aeea5a575c7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-26 06:24:01 +00:00
Vincent Wang
8cc6c89e4b Merge "Fix Settings crash after clicking "Add Fingerprint"" into 24D1-dev 2024-03-26 06:05:32 +00:00
Treehugger Robot
54504f1282 Merge "Fix ImpossibleNullComparison errorprone warning" into main am: 1614fc4180 am: 131f4b8d94
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3011721

Change-Id: I3b48d4419eb1648591eb2d83c2411633258d305a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-26 05:38:48 +00:00
Chaohui Wang
ecd71a6300 APN label for radio button
Fix: 330808298
Test: manual - with APNs
Change-Id: Ic5b8d7cb1369deda0ec5f89b621c972c97819664
2024-03-26 13:34:30 +08:00
Treehugger Robot
131f4b8d94 Merge "Fix ImpossibleNullComparison errorprone warning" into main am: 1614fc4180
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3011721

Change-Id: I304445a194fed04a6cd3542eb19678d92d06edbd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-26 05:20:22 +00:00
Amith Yamasani
3286a76bbf Merge "Revert "Intent handler for new BACKGROUND_RESTRICTIONS_SETTINGS"" into main 2024-03-26 05:11:53 +00:00
Roy Chou
1c898252cb fix(magnification): make always on toggle unavailable when capabilities is window only
As b/328787031, we make the MagnificationAlwaysOnPreferenceController observe the magnification capabilities then update the preference enabled state. Therefore, when changing the capabilities to window mode only, the preference will become unavailable.

We use the bug-fix flag to verify the fix with rollout process.

Bug: 328787031
Flag: ACONFIG com.android.settings.accessibility.hide_magnification_always_on_toggle_when_window_mode_only DEVELOPMENT
Test: manually flip the flag
      atest MagnificationCapabilitiesTest
      atest ToggleScreenMagnificationPreferenceFragmentTest
      atest MagnificationAlwaysOnPreferenceControllerTest
Change-Id: I1a25f80131d84ecdd927030e40a18ebb32b7862f
2024-03-26 05:11:06 +00:00
tomhsu
32a501562c Fix crash due to incompatible type
fix: 331182785
Test: Manual test
Change-Id: I20c150845caad1c14cad35f661c31e36def968ac
2024-03-26 05:03:16 +00:00
Treehugger Robot
1614fc4180 Merge "Fix ImpossibleNullComparison errorprone warning" into main 2024-03-26 04:59:55 +00:00
SongFerng Wang
bf210b9834 Merge "Replace the bottomsheet with dialog" into main 2024-03-26 03:50:09 +00:00
Haijie Hong
f5d8f4afa9 Merge "Disable media output switcher in Settings when audio sharing" into main 2024-03-26 03:23:51 +00:00