Commit Graph

140429 Commits

Author SHA1 Message Date
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
songferngwang
e471604d32 Add the mobile data into new SIMs page
Bug: 329584989
Test: verify UI.
atest TelephonyRepositoryTest

Change-Id: Ia00ac287ffd0d15ba0c9350b731c3afc1a04b7a0
2024-04-16 07:20:21 +00:00
Jakub Rotkiewicz
c923103142 Bluetooth Codec Settings: Assure flag enabled
Assure flag a2dpOffloadCodecExtensibilitySettings is enabled before
calling BluetoothA2dp API.

Bug: 331612641
Tag: #feature
Test: atest SettingsRoboTests:com.android.settings.development.bluetooth.AbstractBluetoothListPreferenceController
Test: atest SettingsRoboTests:com.android.settings.development.bluetooth.BluetoothCodecListPreferenceControllerTest
Merged-In: Iac33a6c95a544230e034807b320c80a727ade307
Change-Id: I2b0ed6c7ac91401b958b206817aca55e0aa47170
2024-04-16 06:08:46 +00:00
shaoweishen
90e70b15d7 [Physical Keyboard] Clean up old ui and flag
Change-Id: I9423d0e9debcef37338e5733aab56b98920621e3

Test: n/a
Bug: 330517633
Change-Id: I485848f67e0eb3ab207413a6ed8f7de809f80c5c
2024-04-16 05:21:30 +00:00
Fan Wu
3a1252ebcc Merge "Remove two usages of LooperMode.LEGACY" into main 2024-04-16 03:05:43 +00:00
Treehugger Robot
f5cf5af4ba Merge "Fix the date format alignment problem" into main 2024-04-16 02:51:52 +00:00
YK Hung
623627d790 [automerger skipped] Merge "Add charging string V2 for settings" into 24D1-dev am: 67df73a1fd -s ours
am skip reason: Merged-In Ic68bf4231da81d865faa285bca97a929abe26a42 with SHA-1 6f3c97f60a is already in history

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

Change-Id: I18e3d66151f8e9d0b8a6cdf47567d562f5208ca1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-16 01:41:56 +00:00
Pajace Chen
9563f1bb4d [automerger skipped] Add charging string V2 for settings am: d9b44a8b9c -s ours
am skip reason: Merged-In Ic68bf4231da81d865faa285bca97a929abe26a42 with SHA-1 6f3c97f60a is already in history

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

Change-Id: I3d71ed8af87210521c245935ef9019b6495f3bc0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-16 01:41:54 +00:00
Fan Wu
b385dbca33 Merge "Bluetooth Codec Settings: Assure flag enabled" into main 2024-04-16 01:27:55 +00:00
YK Hung
67df73a1fd Merge "Add charging string V2 for settings" into 24D1-dev 2024-04-16 01:25:31 +00:00
Varun Shah
321e08e538 Remove RUN_BACKUP_JOBS special app access page.
Bug: 333624438
Test: visual
Change-Id: Ib01bd6556768a943ae7fae013c6ccb82b1b96697
2024-04-16 01:02:49 +00:00
Bill Yi
391eb07072 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I75c35ca032a0d20f8befb60d3c7c0daabe6995d3
2024-04-15 17:26:46 -07:00
Bill Yi
bbb3212235 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id7f821a3ef01a2339fdc276ccace6b144858bed2
2024-04-15 17:25:54 -07:00
Bill Yi
650dc6b4ad Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia9654246b3b1a4f026d2a95205ff94004e7360a5
2024-04-15 17:23:19 -07:00
Bill Yi
ea192f9dce Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I440c6cc8063b3a9ede8935c5b08b0198c6d48342
2024-04-15 17:21:14 -07:00
Bill Yi
379550239e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2f59f1e5376bd9ac3576fefdbfe7c042d03c1948
2024-04-15 17:19:30 -07:00
Bill Yi
c7339a0d77 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I218d5d0b0df7abb044dd063d726dc26c3f9506e0
2024-04-15 17:18:34 -07:00
Bill Yi
1550742adf Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia1a2162c398a61ac17bd03dbb8ef71c07c87905f
2024-04-15 17:16:46 -07:00
Bill Yi
451d90c8b5 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I57d8e9f09cf42e3ab75181bfc6409334fba8c29c
2024-04-15 17:15:07 -07:00
Mark Kim
88dc6c43c3 Handle PackageManager.NameNotFoundException thrown from
`PackageManager.isAppArchivable` as false

Test: AppArchiveButtonTest
Bug: 333465028
Change-Id: I4ecbdabbf3869615834eda5c3fbe489c5ad9eadb
2024-04-15 20:05:03 +00:00
Joseph Vincent
02f1db61d8 Merge "Set SKIP_FIRST_USE_HINTS setting for private space" into main 2024-04-15 18:04:58 +00:00
Treehugger Robot
9640114704 Merge "Fix talkback announce incorrect sound of the EID" into main 2024-04-15 15:06:21 +00:00
Pajace Chen
30a03c4ee8 Merge "Fix "Free up space" not clickable issue" into main 2024-04-15 13:15:16 +00:00
Samuel Huang
cbf5154291 Disable SIM On/Off operation when device is in Satellite Enabled Mode
Bug: 315928920
Test: atest, manual
Change-Id: I7aaaf43b4c449129197e7cc92565d274ffdd2d8c
2024-04-15 12:31:17 +00:00
pajacechen
e5d99fa93d Fix "Free up space" not clickable issue
- Adding CardPreference.java back for "Free up space" item
- Rename CardPreference.kt to TipCardPreference.kt

Bug: 333016642
Test: http://ab/I85800010265092964
Change-Id: I36062703b7ab5c21083459616234e3a86500719b
2024-04-15 19:45:17 +08:00
josephpv
83f73732de Set SKIP_FIRST_USE_HINTS setting for private space
With this change the value of Secure settings SKIP_FIRST_USE_HINTS is
set for private profile after creation of profile in PS setup flow.

The value is set for the profile user so that first launch of an app in
private space will not display introductory hints.

Bug: 325596557
Test: PrivateSpaceMaintainerTest
Change-Id: I63a967bba052a3dcb4742c95b89c6da19aba74d5
2024-04-15 10:47:42 +00:00
Sunny Shao
b839b6f81a Fix the date format alignment problem
- The date format is different between "Android security update"
  and "Google Play system update" for locale TH.
- Use the same getBestDateTimePattern API to align the format.

Fixes: 331897617
Test: atest MainlineModuleVersionPreferenceControllerTest
Change-Id: I346749594b05703b601d0d84fd7659fd3c2fa85a
2024-04-15 10:46:01 +00:00
Jakub Rotkiewicz
14ea291d2a Bluetooth Codec Settings: Assure flag enabled
Assure flag a2dpOffloadCodecExtensibilitySettings is enabled before
calling BluetoothA2dp API.

Bug: 331612641
Tag: #feature
Test: atest SettingsRoboTests:com.android.settings.development.bluetooth.AbstractBluetoothListPreferenceController
Test: atest SettingsRoboTests:com.android.settings.development.bluetooth.BluetoothCodecListPreferenceControllerTest
Change-Id: Iac33a6c95a544230e034807b320c80a727ade307
2024-04-15 10:43:23 +00:00
sunnyshao
3f450dde28 Fix talkback announce incorrect sound of the EID
-- Use zero width space.

Bug: 319049336
Test: manual test
Change-Id: I93dd43ccf79727b8de7bba957431b77956f9b839
2024-04-15 10:23:21 +00:00
Zaiyue Xue
1ee693f0ed Support tips card directly changing settings [step-5]
Support clicking tips card directly changing settings.

Bug: 333989261
Test: manual
Change-Id: Idc485ee7430edff7f6d7265caf8d9d5cf97548b6
2024-04-15 17:39:43 +08:00
YK Hung
be60d166eb Merge "Fix failed test in BatteryTipsCardPreferenceTest." into main 2024-04-15 09:01:18 +00:00
mxyyiyi
4fe887e908 Fix failed test in BatteryTipsCardPreferenceTest.
Fix: 313582999
Test: atest SettingsRoboTests:com.android.settings.fuelgauge.batteryusage.BatteryTipsCardPreferenceTest
Change-Id: I31e4073332872df521cbc6811dae5e4b067e6ffa
2024-04-15 16:19:00 +08:00
Zaiyue Xue
c1b0e54ed5 Merge "Support tips card directly changing settings [step-4]" into main 2024-04-15 08:04:45 +00:00
Roy Chou
acf98a6a4a feat(onefingerpan): hide the one finger pan settings when window mode only
Like MagnificationAlwaysOn toggle behavior, when the magnification
capability is window-mode only we'll hide the OneFingerPan toggle too.

Also do a small refactoring in MagnificationOneFingerPanningPreferenceControllerTest

Bug: 333821725
Flag: ACONFIG com.android.server.accessibility.enable_magnification_one_finger_panning_gesture TEAMFOOD
Test: manually
      atest MagnificationOneFingerPanningPreferenceControllerTest
      atest ToggleScreenMagnificationPreferenceFragmentTest
Change-Id: I8684b5bae5cbfc5b75fc4c14d2e9173b17d0fb02
2024-04-15 07:16:57 +00:00
Haijie Hong
82e71b7278 Merge "Exit bluetooth device details page when bluetooth is off" into main 2024-04-15 06:55:39 +00:00
Haijie Hong
1ab367d3a0 Exit bluetooth device details page when bluetooth is off
Bug: 333836213
Test: atest BluetoothDeviceDetailsFragmentTest
Change-Id: I4632c10a8f6f828885825e1ee46df6537a0c050c
2024-04-15 13:29:42 +08:00
Zaiyue Xue
cf292a025d Support tips card directly changing settings [step-4]
Add the settings name and settings value to gerrit proto.

Bug: 333989261
Test: presubmit
Change-Id: I169b615bb8a637614dd5b5c3eed52b4862d2e13f
2024-04-15 12:59:42 +08:00
Tom Hsu
758e69592c Merge "Revert "Fixs user input nothing, but save it successfully"" into main 2024-04-15 02:13:55 +00:00
Tom Hsu
880b8c6dbf Revert "Fixs user input nothing, but save it successfully"
This reverts commit 6f27b8bca7.

Reason for revert: wrong logic

Change-Id: Ic2eaaa5dd318a2eb92da1a3615590e7d132641a7
2024-04-15 01:50:12 +00:00
Diya Bera
d8ad8e17b0 Update constants
Flag: N/A
Test: N/A
Bug: 289548794
Change-Id: Ifcc0592583697efb105167b6c168c40a3299dc54
2024-04-13 16:09:28 -07:00
Chun-Ku Lin
e24b145d48 Merge "[Flag cleanup] remove separate_accessibility_vibration_settings_fragments" into main 2024-04-12 18:10:11 +00:00