Commit Graph

140019 Commits

Author SHA1 Message Date
songferngwang
a92051ad07 Avoid to reset the data
Bug: 333646302
Test: verify the data after rotating the device
Change-Id: I8fd74d174792a3a72e1c9e0f4394ad816b37425e
2024-04-17 08:36:29 +00:00
Jason Chiu
5d82f6a648 Remove the package name restriction of ACTION_UNINSTALL_PACKAGE
PackageInstaller has protected the intent action by setting
"android:priority=1".

Test: manual
Fix: 332228634
Change-Id: If0794e5957366d8b26acd0362b59c6c9076a0c4f
2024-04-17 16:26:52 +08:00
Haijie Hong
0307bbfb1f Hide LeAudio toggle for LeAudio-only device
Bug: 333827147
Test: atest BluetoothDetailsProfilesControllerTest
Change-Id: Ie446d8866fb51972795b66aac2db84703ef51b84
2024-04-17 16:12:42 +08:00
Samuel Huang
082303508b [automerger skipped] Merge "Disable SIM On/Off operation when device is in Satellite Enabled Mode" into 24D1-dev am: efe0ce2b2f -s ours
am skip reason: Merged-In I7aaaf43b4c449129197e7cc92565d274ffdd2d8c with SHA-1 cbf5154291 is already in history

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

Change-Id: Ibdd9191d122c8e20513f6a4b80bbda8a383ef102
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-17 08:02:15 +00:00
Samuel Huang
641976b765 [automerger skipped] Disable SIM On/Off operation when device is in Satellite Enabled Mode am: 316e7bf3e6 -s ours
am skip reason: Merged-In I7aaaf43b4c449129197e7cc92565d274ffdd2d8c with SHA-1 cbf5154291 is already in history

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

Change-Id: I4942a5812efe27c690b7eab69ba73756efa122c8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-17 08:02:12 +00:00
Samuel Huang
efe0ce2b2f Merge "Disable SIM On/Off operation when device is in Satellite Enabled Mode" into 24D1-dev 2024-04-17 07:44:44 +00:00
songferngwang
3219f6da97 Set Phone number format as LTR
Bug: 334339964
Test: verify the phone number format
Change-Id: Ifa5dc394c3d9b8d7565e6200a47b7cb9fb1bba84
2024-04-17 07:10:20 +00:00
SongFerng Wang
15d619f9b4 Merge "Text input in dialog should extend to full width" into main 2024-04-17 06:28:28 +00:00
Chun-Ku Lin
247476bab7 Update footer text whenever the ScreenPinningSettings is shown
Bug: 333029993
Test: atest ScreenPinningSettings
Test: manual
Flag: EXEMPT low risk bug fix
Change-Id: Ia14a50fcc81d672732b78c523968a5921cae65b1
2024-04-17 05:34:59 +00:00
Amith Yamasani
7676217e4d Call noteAppRestrictionChanged when toggling restrictions/exemptions
This is to log the reasons for restriction level change and force stop

Bug: 333882527
Test: statsd_testdrive 863
      Toggle battery restrictions manually for an app and verify logging
      of reason
      atest BatteryOptimizeUtilsTest
Change-Id: Ifcc99efc1b6acc5a992f7d952967210b07319f2e
2024-04-16 21:58:40 -07:00
YK Hung
84050edcdd Merge "Update wireless charging string" into main 2024-04-17 04:47:38 +00:00
Yiling Chuang
37a35d5833 Update wireless charging string
Add a capability to provide different strings during wireless charging.

Bug: 316239566
Test: robotests
Change-Id: Ic7c70ae33ae951dfe931995e5ab0d478222d57c9
2024-04-17 03:22:38 +00:00
Treehugger Robot
18f72bb46f Merge "The editview's inputytype adds textMultiLine" into main 2024-04-17 02:47:21 +00:00
Annemarie Apple
7038405f14 Add READ_SYSTEM_GRAMMATICAL_GENDER to Settings app
Change-Id: I9b6cbb55f7da836762a7f8fc795322c85e08f9ee
Flag: EXEMPT XML
Bug: 335025399
2024-04-17 02:35:57 +00:00
Jason Chiu
fd8c705af9 Merge "Restart or finish HomepageActivity when it's launched unexpectedly" into main 2024-04-17 01:37:23 +00:00
Jason Chiu
b0c011e077 Restart or finish HomepageActivity when it's launched unexpectedly
Settings homepage should be started with the flag FLAG_ACTIVITY_NEW_TASK
to ensure it's the first activity in a task. Otherwise, there will be UI
issues.

When homepage is started with FLAG_ACTIVITY_NEW_TASK but not the first
activity, it means another homepage activity has been started, so
finishing the current invocation will bring up the previous activity in
the task.

On the other hand, when homapage is not started with the flag and not
the first activty, it indicates that the invocation is from another
app. Restarting the homepage activity with FLAG_ACTIVITY_NEW_TASK will
keep the UI behavior consistent.

Fix: 297857732
Fix: 309045575
Test: robotest, manual
  1. Start Settings from QuickSettings, go to any subpage, navigate to
     home, click Settings icon on the launcher, and the previously
     opened page should be kept.
  2. On a LS device, start Settings from another app without
     FLAG_ACTIVITY_NEW_TASK, Settings should be started in dual-pane
     mode.
Change-Id: If1f31e26dc37f681bd97c185cbeac2de06bdd48f
2024-04-17 01:33:04 +00:00
Bill Yi
d1894bd823 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-mainline-prod am: 1b10cde727 -s ours
am skip reason: contains skip directive

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

Change-Id: I072c7a5386644c497aa5b4a5e1325893e6cdf512
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-16 18:46:03 +00:00
Bill Yi
5543d965f6 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 1550742adf -s ours
am skip reason: contains skip directive

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

Change-Id: I77725f4627eef9f510a6dfd2d916ce96493786cc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-16 18:45:46 +00:00
Bill Yi
da5810bf57 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-04-16 18:24:00 +00:00
Bill Yi
0d88db0110 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-04-16 18:24:00 +00:00
Bill Yi
0b09c8ab75 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-04-16 18:24:00 +00:00
Bill Yi
1b10cde727 Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-mainline-prod 2024-04-16 18:20:34 +00:00
Treehugger Robot
15952f7af7 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: 5278c0f83e -s ours
am skip reason: contains skip directive

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

Change-Id: Ia6aa7a98b764b7a5cee4e6b8a5f84372a3d2feb7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-16 17:52:46 +00:00
Bill Yi
e7e5b101f3 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 391eb07072 -s ours
am skip reason: contains skip directive

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

Change-Id: I17655e728e6d9cad85d58b66a7425e4fe1b92f0c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-16 17:52:42 +00:00
Treehugger Robot
f6a181896f [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: 093aa25cf3 -s ours
am skip reason: contains skip directive

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

Change-Id: Idf63e68e6c4d76a10695bd0b2f863eab664bdf61
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-16 17:52:38 +00:00
Bill Yi
61a0d12d98 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 650dc6b4ad -s ours
am skip reason: contains skip directive

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

Change-Id: I92bd0b7400fdcd6b0af26c88806ad276ec4ff425
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-16 17:52:20 +00:00
Treehugger Robot
0a066b29d3 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: 4b86ea2ca3 -s ours
am skip reason: contains skip directive

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

Change-Id: I7c2d276a4f6adb47721e936977c8ec1dc5948c93
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-16 17:52:12 +00:00
Bill Yi
3b8c4b4bf0 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 379550239e -s ours
am skip reason: contains skip directive

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

Change-Id: Id026a22af7270d3039ba98145ae486521a104025
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-16 17:52:03 +00:00
Bill Yi
ea8c0f7716 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 451d90c8b5 -s ours
am skip reason: contains skip directive

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

Change-Id: Id5600b6ae58bce67b1ca7c56ee2fb98ed97cc7a9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-16 17:37:22 +00:00
Treehugger Robot
5278c0f83e Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-04-16 17:25:07 +00:00
Treehugger Robot
093aa25cf3 Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-04-16 17:25:07 +00:00
Treehugger Robot
4b86ea2ca3 Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-04-16 17:25:07 +00:00
Edgar Wang
9ff8ddeed1 Allow dynamic injecting preference into specific preferenceCategory
Bug: 333547416
Test: robotest
Change-Id: I443ec8c16afc6db334a6f16d857f69f293803979
2024-04-16 15:30:56 +00:00
Julia Reynolds
a0ad1b6f11 Merge "Update string" into main 2024-04-16 14:43:51 +00:00
Vaibhav Devmurari
e2b3ff4b33 [automerger skipped] Merge "Modify PK Settings page to make it more user friendly" into 24D1-dev am: 50a16b9fef -s ours
am skip reason: skipped by vdevmurari

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

Change-Id: Icad56bd7001b14ab4bc2df5831d55937c30d8550
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-16 14:34:44 +00:00
Vaibhav Devmurari
50a16b9fef Merge "Modify PK Settings page to make it more user friendly" into 24D1-dev 2024-04-16 13:26:07 +00:00
Santiago Seifert
b5aa766a25 Merge "Remove unused parameter" into main 2024-04-16 11:55:33 +00:00
songferngwang
3daaf1a073 Text input in dialog should extend to full width
Bug: 329710418
Test: verify the UI
Change-Id: I7ff3c390686aa752a42531419ea66eea764e1812
2024-04-16 11:34:24 +00:00
Joseph Vincent
252d1f19ff Merge "Launch full screen private space setup on Fold when unfolded" into main 2024-04-16 10:48:30 +00:00
Jakob Schneider
d18aba0792 Merge "Handle PackageManager.NameNotFoundException thrown from PackageManager.isAppArchivable as false" into main 2024-04-16 10:02:32 +00:00
Samuel Huang
8782bd4fdc Merge "Disable SIM On/Off operation when device is in Satellite Enabled Mode" into main 2024-04-16 09:54:41 +00:00
Samuel Huang
316e7bf3e6 Disable SIM On/Off operation when device is in Satellite Enabled Mode
Cherry-picking ag/26965536 into the 24D1-dev branch caused conflicts. Therefore, manually create this CL to migrate the MobileNetworkSwitchController to Kotlin and utilize Compose.

Bug: 315928920
Test: atest, manual
Change-Id: I215b5a4615a3b3da6fc160f76c85c814210cc3ef
Merged-In: I7aaaf43b4c449129197e7cc92565d274ffdd2d8c
2024-04-16 09:52:00 +00:00
songferngwang
976e6a80e9 The editview's inputytype adds textMultiLine
Bug: 323466710
Test: verify the UI

Change-Id: Ic66c25a06edb45a37dfca091bf23bdb3a02dcfbe
2024-04-16 09:34:46 +00:00
Matías Hernández
59c6a66f5c Introduce ZenModesBackend and ZenMode
Test: atest ZenModesBackendTest ZenModeTest
Bug: 327419222
Change-Id: Ic2871a6124b2df4b77275b54a940f7b47666991c
2024-04-16 11:21:37 +02:00
Santiago Seifert
9892d7714a Remove unused parameter
Test: presubmit. Non-functional change.
Bug: b/321969740
Change-Id: I922f15078c89c14c8fe290f7337abf36261ab9c5
2024-04-16 09:10:39 +00:00
SongFerng Wang
7eaa2b1661 Merge "Add the mobile data into new SIMs page" into main 2024-04-16 08:54:26 +00:00
Jakub Rotkiewicz
085291563b [automerger skipped] Merge "Bluetooth Codec Settings: Assure flag enabled" into main am: 52038eb6f2 am: 0ea966fa43 -s ours
am skip reason: Merged-In Iac33a6c95a544230e034807b320c80a727ade307 with SHA-1 14ea291d2a is already in history

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

Change-Id: I722981d423f9aa11294817a3032e28f9b6c977b2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-16 08:38:42 +00:00
Jakub Rotkiewicz
0ea966fa43 Merge "Bluetooth Codec Settings: Assure flag enabled" into main am: 52038eb6f2
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3024725

Change-Id: If1709e6ddf9f805ec263833f6f0f5902fa9d7677
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-16 07:58:54 +00:00
Jakub Rotkiewicz
52038eb6f2 Merge "Bluetooth Codec Settings: Assure flag enabled" into main 2024-04-16 07:41:41 +00:00
josephpv
b35fa82b3d Launch full screen private space setup on Fold when unfolded
This change takes care to launch the private space setup in whole screen
on Fold device whenever the device is unfolded.

Screenshot: go/ss/6D9EwMaLp7LFbsH.png
Recording: b/324260315

Bug: 324260315
Test: Manual
Change-Id: I5bc7b7c8fbc880b6274ddd287a8a169b49843f1b
2024-04-16 07:28:21 +00:00