Commit Graph

139281 Commits

Author SHA1 Message Date
Treehugger Robot
6450b92abf Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-03-29 22:17:51 +00:00
Treehugger Robot
55b2618244 Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-03-29 22:17:51 +00:00
Priyanka Advani
27d7b192f7 Merge "Revert "Add waiting screen before PS setup completion"" into main 2024-03-29 21:43:30 +00:00
Priyanka Advani
d2c91b587e Revert "Add waiting screen before PS setup completion"
This reverts commit 7b0b26ec92.

Reason for revert: b/331935387. ACA has already verified the revert.

Change-Id: Idf28854f25c4bad3563408dbb7b5c84f0cdbe2f2
2024-03-29 21:30:27 +00:00
Anna Bauza
1a621c4910 Merge "Refactor SettingsLib to remove redundant resources conditionally" into main 2024-03-29 21:08:49 +00:00
Kyle Zhang
6565292c71 Merge "Modify test to accomodate unchangable flag" into main 2024-03-29 20:58:10 +00:00
Daniel Norman
27607a47a5 Merge "fix(magnification): make always on toggle unavailable when capabilities is window only" into main 2024-03-29 19:09:35 +00:00
Becca Hughes
9931d03f6f Implement policy transparency for CredMan
This CL implements policy transparency for
Credential Manager settings.

Screenshots:
https://hsv.googleplex.com/5502938857340928
https://hsv.googleplex.com/4999933426925568

Test: on device w/ test dpc
Bug: 318552220
Change-Id: I78e1fa47541c81e6e2d2bf2c13159be01928e77c
2024-03-29 09:56:47 -07:00
Samuel Huang
06562e0f35 Add SATELLITE_COMMUNICATION to Settings app
SATELLITE_COMMUNICATION is a signature|privileged permission. Used to get satellite status.

Bug: 315928920
Test: presubmit
Change-Id: I117dab50b8157e2f81de7b1ff6998c45fb84c734
2024-03-29 14:53:29 +00:00
Anna Bauza
6346ae2aab Refactor SettingsLib to remove redundant resources conditionally
Bug: 320878675
Test: manual
Change-Id: I21b7cf56c74be759ac95621498b753ac70d143b2
2024-03-29 14:43:51 +00:00
Joseph Vincent
ea6500455a Merge "Add waiting screen before PS setup completion" into main 2024-03-29 14:30:07 +00:00
Haijie Hong
4a7f329862 Dismiss notification shade when pairing dialog shown.
Test: atest BluetoothPairingDialogTest
Bug: 307941039
Change-Id: I23eceb846045dba79bf660a32a669f924ab72492
2024-03-29 20:55:49 +08:00
Fan Wu
70272cdcde Merge "Remove LooperMode.LEGACY usage from two test classes" into main 2024-03-29 10:10:18 +00:00
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
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
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
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