Commit Graph

53548 Commits

Author SHA1 Message Date
Jason Iman
0173ee480c Merge "arc: Use ChromeOS host's IP address for WiFi ADB" into main 2024-03-29 05:05:39 +00:00
Jason Chiu
0bd014c497 [Safer intents] Settings misc
To avoid implicit intents, make intents launch explicitly.

Test: build
Bug: 323061508
Change-Id: Ie19cbceb89842a75a180898abcce81b63c18d46c
2024-03-29 04:22:45 +00:00
Angela Wang
eebd44074a Register callback again after service is connected
The exception is thrown when trying to unregister a not-registered callback. This may happen when after rebooting the device, the proxy is not attached to the service while registerCallback() is called in onResume(). The callback will not be correctly registered and hence causing this exception when unregisterCallback() is called in onPause().

Add listener to listen the onServiceConnected() callback and re-register
the callback if the service is not connected when user enters to the
page.

Bug: 330116041
Test: manually test the scenario and confirm no exception thrown
Change-Id: I1f99d067e28e285bcbfff1f34bd322cdbac8063a
2024-03-29 03:53:00 +00:00
YK Hung
e78fd23820 NPE protection for invokeJobRecheck() in the fragment
Ensure getContext() is not null before invokeJobRecheck() in the
background, since the main fragment may be detached to return null
context (in the corner case)

Test: atest
Fix: 331719252
Change-Id: Ia7ba757d2e6ebaf3fd371af51270c0eb0ad0a9f7
2024-03-29 02:48:11 +00:00
Jason Chiu
9507bdb3ac Merge changes from topic "overlay_packages" into main
* changes:
  [Safer intents] Notifications
  [Safer intents] Define package names in Settings
2024-03-29 01:14:26 +00:00
Jason Chiu
0b61e93459 Merge "[Safer intents] Connectivity" into main 2024-03-29 01:11:06 +00:00
Jason Chiu
2ddc771dad Merge "[Safer intents] Applications" into main 2024-03-29 01:09:57 +00:00
Jason Chiu
ea5dbf68e0 Merge "[Safer intents] Device info" into main 2024-03-29 01:09:04 +00:00
Sunny Shao
8803ae7823 Fix the action bar shows up problem
- Hide the internal action bar.
- Refine the Utils.setupEdgeToEdge API.
- Rollback the testcases.

Bug: 328622648
Fixes: 331308440
Test: atest com.android.settings.UtilsTest SettingsActivityTest
Change-Id: I7dfbc93def3e772b57bf06b8276315cee7402a9c
2024-03-29 08:32:22 +08:00
Hakjun Choi
3c54876db7 Make satellite more info url carrier configurable
guidance url link are vary per each carrier, therefore makes it carrier configurable

Bug: 330948681
Test: manually test whether URL works as intended on pixel with TMO/SKT SIM
Change-Id: I062b1e9267c6edf3289d85dc58f9ab2d9cff64d8
2024-03-28 23:24:14 +00:00
josephpv
7b0b26ec92 Add waiting screen before PS setup completion
At the end of PS setup just before showing the final sucess screen this
change adds a new screen with loading layout which enables profile quiet
mode.
After enabling quiet mode checks if user is stopped before removing the
loading layout screen. Until user is stopped loading screen will be
shown.

Bug: 329042236
Bug: 328393532
Test: Manual verify new delay screen is shown
Change-Id: Iac3fd2f0f5c75a64719fbce32ff4dbfb533322d5
2024-03-28 22:53:46 +00:00
Joseph Vincent
7e3d30c95f Merge "Change Never Option to lock private space after device restart" into main 2024-03-28 22:39:13 +00:00
Hakjun Choi
748e0d5db9 Merge "Add carrier satellite feature flag into filter out logic in Settings" into 24D1-dev am: e479584d52
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/26720047

Change-Id: Idd987b67733e17de46ec76001cf52bc0cf2bf5e5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-28 20:14:30 +00:00
Hakjun Choi
e479584d52 Merge "Add carrier satellite feature flag into filter out logic in Settings" into 24D1-dev 2024-03-28 19:53:12 +00:00
Joshua McCloskey
a811dd67bd UDFPS Enrollment refactor (2/N)
This commit is focused on UI. The guided enrollment, lottie, text
and progress bar should all be working according to the previous
experience.

Test: atest
Bug: 297082837
Change-Id: I9b414053f5eaf7b2bc164dacdddc96ed44fec6cb
2024-03-28 18:55:32 +00:00
Billy Huang
ee6c4bacd8 Use disabled summary when trustagents are disabled
This makes trust agent preferences follow the behavior of other features that can be disabled by device admins, otherwise the preference is simply greyed out without context until the user clicks on the preference.

Bug: 319095039
Test: Covered by TrustAgentListPreferenceControllerTest#onResume_restrictedPreferenceShouldUseAdminDisabledSummary
Test: atest SettingsRoboTests:com.android.settings.security --host
Test: manually validated that disabled admin policy results in showing "Controlled by admin" as the summary
Flag: EXEMPT bugfix for single preference in settings
Change-Id: I89f052cf2479a120d8b5b223414162f129cde89e
2024-03-28 10:40:40 -07:00
josephpv
d4f5641c55 Change Never Option to lock private space after device restart
Bug: 324208974
Test: atest AutoLockPreferenceControllerTest
Change-Id: Ia45f7f02f407808eaa9a061ae32480c354bdfb74
2024-03-28 11:16:23 +00:00
Jason Chiu
cf13dfd4c6 [Safer intents] Permission controller
To avoid implicit intents, make intents launch explicitly.

Test: build, manual
Bug: 323061508
Change-Id: Ib95b417fc8682f690890fc55f321b4fece2c0369
2024-03-28 17:09:37 +08:00
Treehugger Robot
c35fc38be9 Merge "Fix the keyboard shows up problem" into main 2024-03-28 07:30:14 +00:00
Sunny Shao
eea96db6da Fix the keyboard shows up problem
- Fix the keyboard shows overlapped problem in ChooseLockPassword.

Fixes: 331179831
Test: atest PlatformScenarioTests:LockscreenWithSixDigitPIN
Change-Id: Id57a3d1d693fb12d370fbf7e8e95b6da5dbf7df3
2024-03-28 13:09:38 +08:00
Jason Chiu
071dfe8691 [Safer intents] Applications
To avoid implicit intents, make intents launch explicitly.

Test: build, robotest
Bug: 323061508
Change-Id: I9bf4eb102550f4afd8d14a6799940d37fc0ab9a7
2024-03-28 04:13:47 +00:00
Jason Chiu
9ab22c28fb Merge "[Safer intents] Input method" into main 2024-03-28 02:44:18 +00:00
Jason Chiu
a18f9e5014 [Safer intents] Input method
To avoid implicit intents, make intents launch explicitly.

Test: build
Bug: 323061508
Change-Id: I8d9e8e2b70c3ef913087b72800cd40e0c3df8164
2024-03-28 02:44:09 +00:00
Jason Chiu
e65774a056 Merge "[Safer intents] Credentials" into main 2024-03-28 02:42:20 +00:00
Andy Wickham
b970322d4c Merge "Allows for system navigation settings to be added dynamically." into 24D1-dev 2024-03-27 23:56:24 +00:00
josephpv
14b2f9568e Add new filter to list private space apps when not in quite mode
This change handles listing of private space apps in Settings > Sound &
vibration > Do Not Disturb > Apps page.

Based on the new filter this page
- lists the apps from private space whenever profile is unlocked.
- when quite mode enabled privat space apps in the list is hidden.

Recording Link: b/322316632#comment3

Bug: 322316632
Test: Manual
Change-Id: Ie8a7b3376351c031a1abb8488eceb7859a1930fd
2024-03-27 20:43:12 +00:00
Joseph Vincent
e8ba1b5711 Merge "Enable talkback in Header Text View in private space setup autoadvance screen" into main 2024-03-27 20:41:47 +00:00
Joshua Mccloskey
72abca0a95 Merge "UDFPS Enrollment Refactor (1/N)" into main 2024-03-27 19:07:34 +00:00
Kyle Zhang
be7215cc51 Merge "Use new naming for Widevine Developer option." into main 2024-03-27 18:54:40 +00:00
Tim Murray
431e86009e JobScheduler: remove TARE
Test: atest
Bug: 331617295

Change-Id: Ib5f363d6bbd5e1c9f817cc1987c1711c8135f70b
2024-03-27 10:23:16 -07:00
Neil Fuller
6ed3743755 Merge "UI changes to support time feedback" into main 2024-03-27 13:25:57 +00:00
josephpv
12054c7f1f Enable talkback in Header Text View in private space setup
autoadvance screen

Bug: 330455551
Test: Manual
Change-Id: I320c919964312eb8847bc76ef4e6de07c7d2db75
2024-03-27 11:21:51 +00:00
Jason Chiu
8bc1a141b5 [Safer intents] Notifications
To avoid implicit intents, make intents launch explicitly.

Test: build
Bug: 323061508
Change-Id: I68624ca7c913c473490f371409ae35acbb4f6fb2
2024-03-27 18:31:51 +08:00
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
Josh Hou
544fed5291 Merge "Aggregation checkbox and locale text" into main 2024-03-27 09:20:05 +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
Tom Hsu
19058a2493 Merge "Fix crash due to incompatible type" into main 2024-03-27 05:55:07 +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
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
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
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