Commit Graph

139371 Commits

Author SHA1 Message Date
Fan Wu
3fdb68c2c2 Merge "Remove LooperMode.LEGACY usage from settings/applications path." into main 2024-03-29 10:09:59 +00:00
Jason Chiu
6ca5c992d7 Merge "[Safer intents] Permission controller" into main 2024-03-29 09:20:28 +00:00
songferngwang
be3008e09d Add log for setDataEnabledForReason
To know who change the mobile data

Bug: 331843727
Test: NA Adding log only
Change-Id: I3ef5662102761541cd3e0e4662e0acab07c71937
2024-03-29 09:06:34 +00:00
Jason Chiu
cac043d82e Merge "[Safer intents] Settings misc" into main 2024-03-29 06:36:45 +00:00
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
Fan Wu
4bb2bff03e Remove LooperMode.LEGACY usage from two test classes
Bug: 330824314

Test: atest
Change-Id: Ic8e6aa633d72b7680a9ff8c6e37a66c64778c26a
2024-03-29 10:49:53 +08:00
Fan Wu
cf3649f21b Remove LooperMode.LEGACY usage from settings/applications path.
Bug: 331546577

Test: atest
Change-Id: I419100b302bee55a06fbc481232927ea44a68bd3
2024-03-29 10:48:50 +08: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
Treehugger Robot
f52d24e7d0 Merge "Add summary text for settings page" into main 2024-03-29 00:56:07 +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
Bill Yi
0217eb4478 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I01b54c8e988b13a78eb56f421f64777e953c0350
2024-03-28 17:05:19 -07:00
Bill Yi
5a994dfaf0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I843fd5e85ca791c638fa408ebf0a2cbc662a39e2
2024-03-28 17:04:26 -07:00
Bill Yi
89373d1cca Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9a683c387ab78a4e34ed6087729264f9e3a623d5
2024-03-28 17:02:13 -07:00
Bill Yi
3bfaccfa30 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I89885a9e387494001c8ee87b6d00c31e6459fb5c
2024-03-28 17:00:30 -07:00
Bill Yi
3d48c3b26f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3351baeffb02aedabbad0047e00e4e6605b251d6
2024-03-28 16:59:07 -07:00
Bill Yi
183fb8cf25 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2d738922ea5252156c8ec4c674880527a6f5e62a
2024-03-28 16:58:21 -07:00
Bill Yi
ff9585eb97 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I379fddc5f5347057aa951bfaf307841f11b18126
2024-03-28 16:56:44 -07:00
Bill Yi
37746d10f0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I66f3bcbcecf0755196ad6401541d6dd18726fb31
2024-03-28 16:55:22 -07: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
Becca Hughes
08e15a1c6b Add summary text for settings page
Change-Id: I50761f4bce9d252fc5eca5691747184bafed63c1
Test: manual build & flash
Bug: 322074376
2024-03-28 21:58:13 +00:00
Becca Hughes
02b6139c3c Update title of settings page to reflect updated mocks
https://screenshot.googleplex.com/BUumUJgm8j5Uzxt

Change-Id: I1b8783a34fa7a09f6d112aa477f62cdb785fa9de
Test: ondevice
Bug: 329705806
2024-03-28 21:56:28 +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
Kyle Zhang
e99e5f39c4 Modify test to accomodate unchangable flag
Bug: 301669353
Change-Id: I6d5857d2e414a0c87e1a6212bf36da1bcb5fcbdf
2024-03-28 20:10:54 +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
e2099b7f94 [automerger skipped] Merge "Allows for system navigation settings to be added dynamically." into 24D1-dev am: b970322d4c -s ours
am skip reason: Merged-In I2371f3173076172489966728ac69c8767570cd56 with SHA-1 07109c158a is already in history

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

Change-Id: I956b169703a1c9c6dcd04f334e30b22b78fdda32
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-28 00:09:25 +00:00
Andy Wickham
85df746dad [automerger skipped] Allows for system navigation settings to be added dynamically. am: 9aa1c402ae -s ours
am skip reason: Merged-In I2371f3173076172489966728ac69c8767570cd56 with SHA-1 07109c158a is already in history

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

Change-Id: If61560fb538ce520cf0241b8b5cffe27e2f610aa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-28 00:09:18 +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
Becca Hughes
7da4f9e527 Merge "Adjust left margin on button" into main 2024-03-27 19:44:33 +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