Commit Graph

140296 Commits

Author SHA1 Message Date
Yomna Nasser
004f971ac9 Merge "Update strings for imsi disclosure and ciphering transparency" into main 2024-04-25 18:51:35 +00:00
Rafael Higuera Silva
958b737fcc Merge "Extract and fix logic for showing rac dialog." into 24D1-dev 2024-04-25 18:27:53 +00:00
Tetiana Meronyk
86322e6398 Merge "Keep Multiuser toggle hint visible at all times" into main 2024-04-25 16:16:18 +00:00
Jeff DeCew
465a25261c Remove redundant call to SetFlagsRule.initAllFlagsToReleaseConfigDefault()
Test: atest
Bug: 336802415
Flag: none
Change-Id: I1b628f9430cfdd4b1c12deb7e8f4345658f05ca8
2024-04-25 13:55:19 +00:00
Samuel Huang
faa640e8fc Ignore ACTION_PRIMARY_SUBSCRIPTION_LIST_CHANGED event if satellite session is started
When satellite session is started, we need to suppress the 'Choose SIM for mobile data' and 'Update preferred SIM' dialogs to prevent user turn on SIM.

Bug: 334139957
Test: atest, manual
Change-Id: Id56a98f3d1cfd38875173a643c992393d3dbeec8
2024-04-25 13:34:43 +00:00
Manish Singh
50b5bae531 Don't send data for non-main users
This is a regression caused by ag/26661827

Fix: 333872544
Test: manual
Test: atest PrivateSpaceSafetySourceTest
Change-Id: I0465899af3745fa39eab8806dbceb347d70b0aa3
2024-04-25 12:23:40 +00:00
Angela Wang
93f4595b4e Merge "Update string resource for HA summary" into main 2024-04-25 12:11:26 +00:00
Joseph Vincent
c593355c1e Merge "PS setup screen double bold the text in bold mode" into main 2024-04-25 11:56:02 +00:00
Joseph Vincent
19d7d5be78 Merge "Mock LockPatternUtils.isSecure() method in test setup" into main 2024-04-25 11:53:15 +00:00
Tetiana Meronyk
37ac9a393b Keep Multiuser toggle hint visible at all times
Bug: 336773027
Test: atest UserSettingsTest
Change-Id: Ib5f4ad674c4099a276c8c86d0ed96bdba956540c
2024-04-25 11:41:09 +00:00
josephpv
6655fcd04e Mock LockPatternUtils.isSecure() method in test setup
Added mockd for LockPatternUtils class in test setup as per the comment
in b/323649600#comment7 to handle for the test failure bug.
The tests are passing locally without this.

Bug: 336518132
Test: atest com.android.settings.privatespace
Change-Id: Ie042bb7dd6edefef094d3b658946ff6eaaa6f801
2024-04-25 10:13:35 +00:00
Kuan Wang
3dc0aa73fb Add unique job id for the service to enable power monitor receiver. am: 1ece0152d2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27088043

Change-Id: I621ff30437e36fcfd1a6d7d9e0fbc708b9d40a6e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-25 10:04:07 +00:00
Manish Singh
544fa52e1a Merge "Don't show uninstall for all users" into main 2024-04-25 09:30:05 +00:00
Kuan Wang
1ece0152d2 Add unique job id for the service to enable power monitor receiver.
Test: atest BootBroadcastReceiverTest
Bug: 328860438
Change-Id: I5e79f8da90097b1a404e96f5112c6884fc3beba1
(cherry picked from commit 0c85e4bca9)
2024-04-25 08:40:03 +00:00
Angela Wang
14a708a2ad Update string resource for HA summary
Update the message format to align with existing pattern.

Bug: 333912856
Bug: 307705966
Test: atest AccessibilityHearingAidPreferenceControllerTest
Change-Id: Ib8b38e6dc0df732c16f976911597076f6f92ed25
2024-04-25 07:55:34 +00:00
yomna
d354ce8a60 Update strings for imsi disclosure and ciphering transparency
Bug: b/300159520 b/299905381
Test: m & manual
Flag: exempt resource only update

Change-Id: Iba9011fa0f9c22ed549ce55bfd50724d8b9cb2dc
2024-04-25 04:08:53 +00:00
Chaohui Wang
446e0a18d1 Refresh the preferred APN after "Reset to default"
Previously, ApnSettings will updated the preferred APN selection when
data connection changes, but this is not the source of truth.

Observe the preferred APN directly to fix.

Fix: 257316932
Test: manual - on ApnSettings
Test: unit test
Change-Id: Ie323316ab8f7fa63edf5cf90633bcdd4486728c4
2024-04-25 11:14:21 +08:00
Ivan Chiang
6afb9ece62 Add the different summary for the app store details
When the initiating package is different from the installing package,
show the different summary. E.g WebApk

Test: atest AppInstallerInfoPreferenceTest
Bug: 329140383
Change-Id: Icd5559bce06c059844269d70926b3c0b39589edb
2024-04-25 02:41:33 +00:00
Rafael Higuera Silva
36d99e8b09 Extract and fix logic for showing rac dialog.
Added tests to make sure the logic makes sense.

Bug: 335745726
Test: make, manual, atest SubscriptionUtilRoboTest, atest SubscriptionUtilTest, atest ResetNetworkTest
Change-Id: I7092f2747f1ca1f9ef4dc99275a916b9e24d8b28
2024-04-25 01:34:47 +00:00
Edgar Wang
bf78686e7c Merge "Make icons of Homepage settings autoMirrored" into main 2024-04-25 01:13:33 +00:00
David Jacobo
240b32fa91 settings: Make use of ACTION_NETWORK_PROVIDER_SETTINGS
This CL makes use of the newly introduced action for
NETWORK_PROVIDER_SETTINGS.

Bug: None
Test: atest -c ProviderModelSliceTest
Change-Id: Ie0ccde2f49502a634801401e1b33f1d4b9c7d728
2024-04-24 17:08:42 -07:00
Thomas Nguyen
f6f2f6135d Disable SIM On/Off operation when device is in a Satellite session am: c6005fb22a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27073216

Change-Id: I529d0a86739891873c205b3ff9eff065e50ed201
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-24 21:56:40 +00:00
Treehugger Robot
5b0fb6a85d Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-04-24 21:24:35 +00:00
Treehugger Robot
8e2026856e Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-04-24 21:24:35 +00:00
Treehugger Robot
7ed157448a Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-04-24 21:24:35 +00:00
Jeff DeCew
1d4d5343cc Remove redundant call to SetFlagsRule.initAllFlagsToReleaseConfigDefault()
Change-Id: I1b628f9430cfdd4b1c12deb7e8f4345658f05ca8
Test: atest
Bug: 336802415
Flag: none
2024-04-24 16:56:31 +00:00
Thomas Nguyen
c6005fb22a Disable SIM On/Off operation when device is in a Satellite session
Bug: 330585109
Test: SatelliteManagerTestOnMockService SatelliteSessionControllerTest SatelliteControllerTest
Manual test with demo and real mode

Change-Id: Iade6426981f76a0b9b71828e0c86d3088c3e974e
2024-04-24 16:35:13 +00:00
Bill Yi
64c47ed4f9 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2c9b8cab429f22c3e3422bfa75837007c5abe57e
2024-04-24 09:21:46 -07:00
Bill Yi
1178d8d564 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ibdc6214fae59e8510f0e210bdcc28101706b36ef
2024-04-24 09:20:04 -07:00
Bill Yi
583b6083ed Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1d2a39a202720477733c21430a23d7add97ae2c4
2024-04-24 09:18:36 -07:00
josephpv
e952f0b097 PS setup screen double bold the text in bold mode
screenshot :
bold - go/ss/AH9xgZnYVjsFdj7.png
plain - go/ss/6bVZKRfptwLVuUL.png

Bug: 329547939
Test: Manual

Change-Id: Idc38055f489328561ff19d034f26d3372045b61d
2024-04-24 16:01:20 +00:00
Yuri Lin
d1347a5d85 Merge "Base classes for general modes settings and rule-specific settings pages." into main 2024-04-24 15:59:01 +00:00
Manish Singh
034cca23f0 Merge "Highlight the Security menu entry while deeplinking to PS settings" into main 2024-04-24 15:40:58 +00:00
Jason Chiu
bcd2d58f88 Highlight the Security menu entry while deeplinking to PS settings
Bug: 334792208
Test: visual
Change-Id: I6e55a3746e8b9999e4b6e7b32fa47729a061a7e2
2024-04-24 15:32:58 +00:00
Yuri Lin
34c82e17ec Base classes for general modes settings and rule-specific settings pages.
Flag: android.app.modes_ui
Bug: 335259054
Test: manual through toy extensions of the base classes
Change-Id: I3b950c5556299aaf89fd730c91bf87adfe2f0784
2024-04-24 10:31:15 -04:00
Matías Hernández
7cfc461e63 Merge "Add support for rules with filter=ALL in ZenModesBackend" into main 2024-04-24 12:02:41 +00:00
Tetiana Meronyk
94537be5d6 Merge "Add separate summary "Owner" for main user on the device" into main 2024-04-24 10:28:33 +00:00
Edgar Wang
6bf662a0b9 Make icons of Homepage settings autoMirrored
Bug: 330371843
Change-Id: I68d15b24bafd036246bee6b46ef6c6e60c773e89
Test: visual
2024-04-24 10:20:18 +00:00
Matías Hernández
3819299a08 Add support for rules with filter=ALL in ZenModesBackend
This is represented as an extra, special value for the AllowChannels field in ZenPolicy, with special treatment.

Bug: 327419222
Bug: 331267485
Test: atest ZenModeTest
Flag: android.app.modes_ui
Change-Id: I44440e40e729d295150b36beda824ddbfa1f170d
2024-04-24 12:07:20 +02:00
Jason Chang
7007b1ba3b Merge "Fix Talkback announcement for SFPS enrollment issues" into 24D1-dev am: 58b70959a6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/26976676

Change-Id: I5e6098952d00ec28c487eaa0e1e2825036de9e19
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-24 08:42:45 +00:00
Treehugger Robot
3d435c7283 Merge "Fix failure in BiometricsSafetySourceTest" into main 2024-04-24 08:35:59 +00:00
Jason Chang
58b70959a6 Merge "Fix Talkback announcement for SFPS enrollment issues" into 24D1-dev 2024-04-24 08:28:23 +00:00
Treehugger Robot
5ef0fe533e Merge "Prevent blank sim label showing on screen." into main 2024-04-24 05:14:03 +00:00
tomhsu
49e3afc551 Prevent blank sim label showing on screen.
fix: 333642116
Test: Manual test, see b/333642116#14
Change-Id: I776135d8ba609c4ea1fac47cfb765e00f8525497
2024-04-24 05:02:25 +00:00
Edgar Wang
16ac28580a Merge "Fix Settings Crash" into main 2024-04-24 04:00:18 +00:00
Chaohui Wang
a968e2dea8 Merge "Get icon id from CellIdentity instead of CellInfo" into main 2024-04-24 03:56:49 +00:00
Paulz Chen
a2187ca756 Merge "Reland add FeatureProvider for SyncAcrossDevices Settings integration." into main 2024-04-24 02:27:31 +00:00
Treehugger Robot
a56a64adf4 Merge "Update logs for BluetoothDetailsHearingAidsPresetsController" into main 2024-04-24 02:15:19 +00:00
paulzhchen
5f391359e3 Reland add FeatureProvider for SyncAcrossDevices Settings integration.
Prior CL ag/26930404 was reverted because an unused class was
trimmed in AOSP, causing test cases to throw NoClassDefFoundError
exceptions. This CL combines ag/26930404 and ag/26995936 to address
the failure.

Bug: 330498032
Test: atest FakeFeatureFactory, atest SyncAcrossDevicesPreferenceControllerTest
Change-Id: I0a7ebccdebcad20e06d7542d7c4a0005885f393b
2024-04-24 02:02:35 +00:00
Joseph Vincent
c44d4f3f6f Merge "Clear settings task on deleting private space" into main 2024-04-23 20:07:36 +00:00