Commit Graph

140019 Commits

Author SHA1 Message Date
Treehugger Robot
3b62993c27 Merge "Remove redundant call to SetFlagsRule.initAllFlagsToReleaseConfigDefault()" into main am: 4ab7d5bacc am: 4e01eba72c
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3058523

Change-Id: I70d317584f659878fa7e4ad36a2a3b32cff6b14a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-26 13:02:14 +00:00
Treehugger Robot
4e01eba72c Merge "Remove redundant call to SetFlagsRule.initAllFlagsToReleaseConfigDefault()" into main am: 4ab7d5bacc
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3058523

Change-Id: Id0ba2a35398e129e8855db927ac7dd483edab9af
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-26 12:42:30 +00:00
Treehugger Robot
4ab7d5bacc Merge "Remove redundant call to SetFlagsRule.initAllFlagsToReleaseConfigDefault()" into main 2024-04-26 12:27:51 +00:00
Fan Wu
e82d0e94d4 Merge "Remove all remaining usages of LooperMode.LEGACY" into main 2024-04-26 10:07:21 +00:00
Joseph Vincent
812eef847e Merge "Add line break strategy to remove header hyphenation" into main 2024-04-26 09:54:00 +00:00
Jason Chang
a538f4efdc Fix the text under the "Setup for limited vision or head motion"
is grayed out

Align the sub-title text color with main-title.

Flag: NONE

Bug: 336678451

Test: manually test with reproducible steps then check it visually:
1. Go to Settings > Security & privacy > Device unlock
> Fingerprint & Face Unlock > Face Unlock
2. Confirm your PIN/Pattern/Password
3. Tap on "Setup for limited vision or head motion"

Change-Id: Id6db60d1fc97833607e184bc2fa71b76f46983a4
2024-04-26 09:44:38 +00:00
Jason Chiu
a09d2650b9 Revert "Fix crash of starting private app info pages for LS"
This reverts commit f9fabeae1c.

Reason for revert: Java crash when trying to open Settings on secondary user

Bug: 336697633
Bug: 337044085
Change-Id: I0c6793ce2a28294c093c9786cecddd19bd643141
2024-04-26 09:17:45 +00:00
Samuel Huang
9b8558394c Fix the "Use this SIM" switch does not disable during phone calls am: 4f454b43c6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27105181

Change-Id: I2be1b144aa7d1d120692ccfece3c921e488fc308
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-26 09:13:17 +00:00
Fan Wu
14c9806612 Remove all remaining usages of LooperMode.LEGACY
Also temporarily ignore UwbPreferenceControllerTest due to unfinished tasks on main thread, see b/337171922 for more detail

Bug: 330824314

Test: atest
Change-Id: I45219fee8094b38790faf8d778e8a1ddeb7c7aaa
2024-04-26 07:11:26 +00:00
Samuel Huang
4f454b43c6 Fix the "Use this SIM" switch does not disable during phone calls
If the registration failed (e.g., device doesn't support satellite), SatelliteManager will not emit the current state by callback. We send `false` value by ourself to make sure the flow has initial value.

Bug: 315928920
Test: atest, manual
Change-Id: Ic87f71bc576cfb1f8e4053c5784fca401adaec08
2024-04-26 05:54:40 +00:00
Treehugger Robot
984039eec8 Merge "Provide different ways to detect battery defender." into main 2024-04-26 04:18:55 +00:00
Samuel Huang
a94bfd4a47 Merge "Ignore ACTION_PRIMARY_SUBSCRIPTION_LIST_CHANGED event if satellite session is started" into 24D1-dev am: fea80bf236
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27071155

Change-Id: Idcbc71555ddbebbd28553530ca8ddd6e364635ae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-26 03:22:25 +00:00
Yiling Chuang
11e810e7a7 Provide different ways to detect battery defender.
Bug: 335567248
Test: robotests
Change-Id: Ie1d3d7da99fa698468ffd124410cfd3b56bc0c34
2024-04-26 03:10:51 +00:00
Samuel Huang
fea80bf236 Merge "Ignore ACTION_PRIMARY_SUBSCRIPTION_LIST_CHANGED event if satellite session is started" into 24D1-dev 2024-04-26 03:08:53 +00:00
Bill Yi
0c5849b864 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8b48009a87a27adfa47d8aefb822b475ac4f92d0
2024-04-25 17:40:31 -07:00
Bill Yi
c2c27be91d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iee9b1152020fccfd00c4af146b5eeb8e83abb7a1
2024-04-25 17:39:35 -07:00
Bill Yi
50aeec824b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I510ff43c6c631096894dd8d00019e1b5fd0b59d3
2024-04-25 17:37:21 -07:00
Songchun Fan
316a373d83 [Settings] Remove REQUEST_INSTALL_PACKAGES from manifest
This line was initially added to support unarchiving, but it wasn't
necessary because the Settings app already has INSTALL_PACKAGES
permission.

Having REQUEST_INSTALL_PACKAGES causes it to be listed in
the "Install unknown apps" page, which might be confusing to the users.
This CL removes it.

BUG: 304255818
Test: manual with Archive/Restore
Change-Id: Iebead9c0faf0226046784add271c155fb89a0845
2024-04-25 17:37:00 -07:00
Bill Yi
d998f61374 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I5a2dfe8148a1176251529a156ef171f4491d9773
2024-04-25 17:35:28 -07:00
Bill Yi
cf73c3e34e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I06f70c2a145cda916442f8a6502e5660f6af9995
2024-04-25 17:34:00 -07:00
Bill Yi
4d0305f4d9 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia39d6ecc18e4d74f279cc56d32f62fef51f803b8
2024-04-25 17:31:43 -07:00
Bill Yi
c594852361 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2e472a2fc8fea0698577f3be1856120282709faa
2024-04-25 17:30:20 -07:00
Rafael Higuera Silva
1d307afd95 Merge "Extract and fix logic for showing rac dialog." into 24D1-dev am: 958b737fcc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27072479

Change-Id: I9f5c4c8dea3c7aebc73b5121d6ace7aca22c1dfc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-25 19:07:24 +00:00
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