Commit Graph

138775 Commits

Author SHA1 Message Date
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
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
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
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
YK Hung
67df73a1fd Merge "Add charging string V2 for settings" into 24D1-dev 2024-04-16 01:25:31 +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
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
379550239e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2f59f1e5376bd9ac3576fefdbfe7c042d03c1948
2024-04-15 17:19:30 -07:00
Pajace Chen
d9b44a8b9c Add charging string V2 for settings
Apply charging string V2 for settings

Bug: 328546483
Test: Manual test
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6f3c97f60a966a8ec357ba4d15b19d9d7a04b34d)
Merged-In: Ic68bf4231da81d865faa285bca97a929abe26a42
Change-Id: Ic68bf4231da81d865faa285bca97a929abe26a42
2024-04-12 06:23:55 +00:00
songferngwang
428aaacefa Fix the settings crash
When the user select mobile network settings item with subid=-1 in
the search list, then some of objects are not initialized.

Bug: 325956182
Test: atest AutoSelectPreferenceControllerTest
atest MobileNetworkPhoneNumberPreferenceControllerTest
atest MobileNetworkSpnPreferenceControllerTest
atest MobileNetworkImeiPreferenceControllerTest
atest WifiCallingPreferenceControllerTest

Change-Id: I17c24b6f542392f018c65b689862f9735fad4b9f
(cherry picked from commit e0b5de28ae)
2024-04-12 06:07:21 +00:00
Chaohui Wang
e499724357 Merge "Move nfc_detection_point.png to res/drawable" into 24D1-dev 2024-04-12 03:10:48 +00:00
Treehugger Robot
1aea823b37 Merge "Restore enterprise policy checks" into 24D1-dev 2024-04-11 18:44:39 +00:00
Treehugger Robot
46d35a41d7 Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-04-11 17:26:52 +00:00
Treehugger Robot
2e1f012b2b Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-04-11 17:26:52 +00:00
Treehugger Robot
7efcaf884a Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-04-11 17:26:52 +00:00
Neil Fuller
a39c14c08e Restore enterprise policy checks
Restore enterprise policy checks removed by commit
fdab44f9e7 and not since restored by other
changes.

Bug: 325886855
Bug: 316584466
Bug: 235445309
Test: Treehugger only
Change-Id: Id3d79805bb2289b84ad34ac05a97e50f0410502f
(cherry picked from commit 5d80553a15)
2024-04-11 12:48:51 +00:00
Samuel Huang
f2ed0ec752 Avoid SIM card on/off dialog pop-up if satellite is enabled
In order to support Satellite SOS, device will have two modems, one for TN, one for NTN(satellite).

When device switches to satellite mode, PSS only disables TN eSIM (and not TN PSIM). Since NTN image only supports eSIM, there is no need to disable TN PSIM before switching to NTN image. Somehow device is seeing that TN PSIM is available and is showing the user to enable it. So we need to handle it by not showing this dialog during satellite mode enabled.

Bug: 330585109
Test: atest, manual
Change-Id: I9781b7e1cef8f7f10e7ecdbb23ca729da4d06eba
2024-04-11 05:20:53 +00:00
Bill Yi
172b3d5664 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8fca1324f16465e3eac933506b9c60316a037093
2024-04-10 20:37:04 -07:00
Bill Yi
e049a82da8 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2f88e30a1664d04b066bed046c51aef1e5ee77c5
2024-04-10 20:33:56 -07:00
Bill Yi
519a9badad Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id689b746d3126100265b56378adf533ab2a46697
2024-04-10 20:30:41 -07:00
Chaohui Wang
b67133310a Move nfc_detection_point.png to res/drawable
From res/drawable-nodpi, for easier overlay.

Bug: 333631061
Test: visual - on NFC
Change-Id: I5b83a399d6ba10644843c816fa369efef869a006
2024-04-10 17:59:19 +08:00
Song Chun Fan
844d2f4c67 [Settings/Archive] remove all checks for the archiving system property
No longer needed

BUG: 331165939
Test: builds
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6ae958abd26ed77ecd4d3fb1720bb912553da2ea)
Merged-In: I24bc9a3d7503da1606d29eb3dfa963b0e6bf9d3e
Change-Id: I24bc9a3d7503da1606d29eb3dfa963b0e6bf9d3e
2024-04-09 18:08:41 +00:00
Vaibhav Devmurari
28e20afb08 Modify PK Settings page to make it more user friendly
PK Settings page:
    - Show current PK layout selected for the current user profile and current IME language instead of a list of IMEs

PK layout mapping page:
    - Show IME name in header only if multiple active IMEs
    - Show the PK layout selection criteria (Automatic v/s User selected)

Bug: 325925410
Bug: 326195401
Test: manual
Change-Id: I93a2e169742a800fa116fa5d55e1a91e5548cebb
Merged-In: I93a2e169742a800fa116fa5d55e1a91e5548cebb
2024-04-09 10:42:57 +00:00
Rafael Higuera Silva
f6e0b08fc6 Merge "Add new warning dialogue when user is Resetting mobile network settings." into 24D1-dev 2024-04-05 23:43:02 +00:00
Rafael Higuera Silva
363535192d Add new warning dialogue when user is Resetting mobile network settings.
If the user is reseting mobile network settings and have all these
conditions:
- No Wi-fi
- Has check to delete all eSIMs
- Has a least one RAC sim carrier
Then show the warning dialogue.

Test: make, manually test, atest SubSettingLauncherTest, atest ResetNetworkTest,  atest SubscriptionUtilTest
Bug: 328649510
Merged-In: I47d9b868b649b259d5e4008ec742317d2cb7cf51
Change-Id: I47d9b868b649b259d5e4008ec742317d2cb7cf51
(cherry picked from commit 147cc19b53)
2024-04-05 21:39:13 +00:00
Samuel Huang
9c5ce0172f Merge "Add SATELLITE_COMMUNICATION to Settings app and fix checkcolor_hook" into 24D1-dev 2024-04-03 04:48:24 +00:00
Jason Chang
d245c1108a Merge "Fix face unlock setup page is abnormal" into 24D1-dev 2024-04-03 03:14:13 +00:00
Hakjun Choi
df0ea6c723 Merge "Make satellite more info url carrier configurable" into 24D1-dev 2024-04-02 23:03:24 +00:00
Treehugger Robot
2244c6296f Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-04-02 16:40:12 +00:00
Treehugger Robot
b7b1943428 Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-04-02 16:40:12 +00:00
Samuel Huang
c6e13c10c4 Add SATELLITE_COMMUNICATION to Settings app and fix checkcolor_hook
SATELLITE_COMMUNICATION is a signature|privileged permission. Used to get satellite status.

Bug: 330585109
Test: presubmit
Change-Id: I35b226eeaa7fd018c658148c7496d9638fe8ecb7
Merged-In: I117dab50b8157e2f81de7b1ff6998c45fb84c734
2024-04-02 07:59:10 +00:00
Bill Yi
5741c891a4 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic722868e89180dc62654f8055a4c680bb63629da
2024-04-01 23:55:30 -07:00
Bill Yi
7d0769751a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9c2e2f93b1032426c8ff1c6eccb1a095be3afe51
2024-04-01 23:52:07 -07:00
Bill Yi
b53bbda642 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Icd68cf5c819c5c334c6e7463de72f08ce8818df9
2024-04-01 23:48:23 -07:00
Treehugger Robot
214646a032 Merge "Add new dialogue when user is going to delete multiple sims where aleast on of them use RAC." into 24D1-dev 2024-04-01 21:56:24 +00:00
Jason Chang
710a3ddc94 Fix face unlock setup page is abnormal
Apply GlifV4Theme.DayNight for FaceEnrollIntroduction related pages.

Flag: NONE

Bug: 329778849

Test: manully test with reproducible steps:
1. Flash and factory wipe the device with latest build
2. Complete SUW and update all the apps
3. Go to settings > security& privacy > face unlock >
   observe setup page

Change-Id: I73293808d225ecad013d507bd9c38b23324b17ec
2024-04-01 12:46:33 +00:00
Treehugger Robot
5534cc5b1c Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-03-29 22:17:51 +00:00
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
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
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
3d48c3b26f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3351baeffb02aedabbad0047e00e4e6605b251d6
2024-03-28 16:59:07 -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
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
Andy Wickham
b970322d4c Merge "Allows for system navigation settings to be added dynamically." into 24D1-dev 2024-03-27 23:56:24 +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
Vincent Wang
8cc6c89e4b Merge "Fix Settings crash after clicking "Add Fingerprint"" into 24D1-dev 2024-03-26 06:05:32 +00:00
Vincent Wang
d5b1bf7554 Fix Settings crash after clicking "Add Fingerprint"
Bug: b/331136606
Test: 1.Add 1 Fingerprint
      2. adb shell am start -a android.settings.FINGERPRINT_SETTINGS
      3. input correct pin/pattern/password
      4. Click Add Fingerprint cehck if Setting work correctly
Change-Id: I076ed7488729a24aea9b47a843b7785e128f6791
2024-03-26 02:09:28 +00:00