Commit Graph

140699 Commits

Author SHA1 Message Date
Treehugger Robot
b13e43b980 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-mainline-prod am: db26a77b37 -s ours
am skip reason: contains skip directive

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

Change-Id: Ib1d4d358a0d728adc1c92aee4290159a6590b607
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-04 18:22:04 +00:00
Bill Yi
1877fbdc66 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 994dc22a81 -s ours
am skip reason: contains skip directive

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

Change-Id: I6e1687d0db7b57f7fed90552d5231d3463d484c6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-04 18:21:58 +00:00
Bill Yi
5085a052c5 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 53d3d950dc -s ours
am skip reason: contains skip directive

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

Change-Id: If6f78bfd0803dad0c239169fd609b2ecaf5cc3e4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-04 18:21:07 +00:00
Treehugger Robot
db26a77b37 Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-mainline-prod 2024-06-04 18:11:48 +00:00
Nate Myren
d7de057fd2 Merge "Convert clipboard access to use new APIs" into main 2024-06-04 18:09:00 +00:00
Treehugger Robot
467962202e Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-06-04 18:04:36 +00:00
Treehugger Robot
30299b5b51 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-06-04 18:04:36 +00:00
Treehugger Robot
1d6419f8c6 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-06-04 18:04:36 +00:00
Chun-Ku Lin
557659277f Merge "Load icon in the background, also load extra data that would be used later in the background." into main 2024-06-04 17:16:23 +00:00
Yomna Nasser
23377dcf4c Merge "Remove unneeded init & displayPreference functions" into main 2024-06-04 16:36:13 +00:00
Jason Hsu
b300ecff43 Merge "Update 'Preset' to singular" into main 2024-06-04 16:28:17 +00:00
jasonwshsu
452cfdc39d Update 'Preset' to singular
Bug: 344832549
Test: check string in Device details page when pairing with hearing aids
Flag: EXEMPT resource only update
Change-Id: I11f892065131680723793f5ac652e11fce0b21ec
2024-06-04 21:14:49 +08:00
Chaohui Wang
7030928506 Merge "Finish mobile settings if sub id not exists" into main 2024-06-04 12:46:08 +00:00
YK Hung
855681fa8f Merge "Fetch the original battery optimization mode in backup & restore process." into main 2024-06-04 10:28:37 +00:00
YK Hung
d76f5b8233 Merge "Fix post-comment in ag/27593647 to improve the readability." into main 2024-06-04 10:25:00 +00:00
Chaohui Wang
28f51a934a Merge "[Apn] Copy network type into lingering network type" into main 2024-06-04 10:16:13 +00:00
Chaohui Wang
3ad527640e Finish mobile settings if sub id not exists
Could be test with,
adb shell am start \
  -a android.settings.NETWORK_OPERATOR_SETTINGS \
  --ei android.provider.extra.SUB_ID 999

Bug: 336232487
Test: manual - on MobileNetworkSettings
Change-Id: I74d5d5b743c40375ceba1ba6e761da901d0d5e65
2024-06-04 18:15:24 +08:00
Chelsea Hao
035efe6207 Merge "[Audiosharing] Clean up unused code." into main 2024-06-04 09:35:38 +00:00
mxyyiyi
00507a47ec Fix post-comment in ag/27593647 to improve the readability.
Bug: 338965652
Test: atest + manual
Change-Id: I8e4c8a4508dd8c5afd1f16c6129146ba6e13bde2
2024-06-04 15:48:36 +08:00
mxyyiyi
1767a6ebb8 Fetch the original battery optimization mode in backup & restore process.
- Battery optimization mode maybe temporary updated by turbo.

Bug: 338965652
Test: atest + manual
Change-Id: Ibea7ecc85ee7d042058f1bccc043fa501be2b8db
2024-06-04 15:43:58 +08:00
Xinyi Mao
d6fe83b86e Merge "Fix color_hook broken in repo upload caused by ag/27381753." into main 2024-06-04 07:37:27 +00:00
chelseahao
4c94930ad5 [Audiosharing] Clean up unused code.
Test: atest -c com.android.settings.connecteddevice.audiosharing.audiostreams
Bug: 308368124
Change-Id: Iea1aede53aefe2034b5a083ff503bb21a4f546cb
2024-06-04 07:09:03 +00:00
Chaohui Wang
57956a8bb8 [Apn] Copy network type into lingering network type
The lingering network type is actually the bit that controls network
torn down. UNKNOWN here means the APN can work on any RAT.

Just copy network type into lingering network type, so network torn down
can work normally.

Fix: 341006308
Test: unit test
Change-Id: Ia60ad3e012bec7364aa35535de1363cd7c0ccdda
2024-06-04 13:58:36 +08:00
Treehugger Robot
70b0a36c4b Merge "Modify the incorrect wording" into main 2024-06-04 05:11:19 +00:00
mxyyiyi
3a07663134 Fix color_hook broken in repo upload caused by ag/27381753.
Bug:344714906
Test: manual
Change-Id: I0d26fa6906830c0634ff2cff2d3265d9435c9dfb
2024-06-04 12:35:56 +08:00
Chun-Ku Lin
b9ee1c4877 Load icon in the background, also load extra data that would be used
later in the background.

Bug: 327052480
Test: atest com.android.settings.accessibility
Flag: EXEMPT bugfix
Change-Id: I9940772e60e2137aad2b3b70902565e36fb7aad6
2024-06-04 02:07:18 +00:00
Bill Yi
66c320a850 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4b04977ab2f21cede81d1100787d16df9284ea20
2024-06-03 17:36:34 -07:00
Bill Yi
6a65f16998 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I60a56a23573aef71014cde64af9eeca6addeb8b0
2024-06-03 17:32:25 -07:00
Bill Yi
bf17fe16a6 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I76ef7a226e3077feca39fe7404c7ab6fd423770c
2024-06-03 17:29:59 -07:00
Bill Yi
53d3d950dc Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I73480046cd6ab5ac2a310f67e883a38ac75c8587
2024-06-03 17:28:19 -07:00
Bill Yi
994dc22a81 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I71d42c126dbc6be33ddf3447e6853ccd210fc3de
2024-06-03 17:26:47 -07:00
Chun-Ku Lin
ba408fbb06 [Refactor] Create a dedicated AccessibilityServicePreference and
AccessibilityActivityPreference to encapture the method for loading the
content for AccessibilityService and AccessibilityShortcutInfo

Bug: 327052480
Test: atest com.android.settings.accessibility
Flag: EXEMPT mechanical refactor

Change-Id: I698a1d366e8ab82c8efdcae293a1ba1771925121
2024-06-04 00:22:44 +00:00
yomna
a2f5b59014 Remove unneeded init & displayPreference functions
Bug: 330336498
Test: m & atest CellularSecurityNotificationsDividerControllerTest CellularSecurityNotificationsPreferenceControllerTest CellularSecurityEncryptionDividerControllerTest CellularSecurityPreferenceControllerTest
Flag: EXEMPT bugfix
Change-Id: I791ad88738da24916b2c48e9b24f404707fc7047
2024-06-03 22:41:25 +00:00
Treehugger Robot
59417f3737 Merge "Reenable (no longer) failing test" into main 2024-06-03 19:16:30 +00:00
Daniel Norman
5a20cfb469 Merge "Update A11ySettings to load preferences in onCreate()." into main 2024-06-03 19:06:23 +00:00
Julia Reynolds
15930b1b61 Reenable (no longer) failing test
Test: ApprovalPreferenceControllerTest
Fixes: 339550695
Flag: android.app.modes_api
Change-Id: Id71a17edd3fa1e9a03df3947c159161eee4dcd1a
2024-06-03 18:13:13 +00:00
Yomna Nasser
c2df9e2e40 Merge "Control visibility of Cellular Security tile on More Security & Privacy page" into main 2024-06-03 16:23:12 +00:00
yomna
ffba0e7a40 Control visibility of Cellular Security tile on More Security & Privacy page
Bug: b/335554085
Test: manual
Flag: EXEMPT bugfix
Change-Id: I35a3b67abc8339179b600fa83effd98e5b389a37
2024-06-03 16:22:58 +00:00
Treehugger Robot
8c7d7a2cc9 Merge changes from topic "opt_mode_ds" into main
* changes:
  Add AppOptimizationModeEventsUtils to save & update app optimization mode expiration events.
  Dump app optimization mode expiration event data in bug report.
2024-06-03 13:50:05 +00:00
mxyyiyi
8eaf8edf7e Add AppOptimizationModeEventsUtils to save & update app optimization mode expiration events.
- [Update] Save app optimizaiton mode set & expire events from turbo.
- [Reset ] Restore optimization mode for expired events in Periodic job.
- [Delete] Cancel expiration event if user updates mode in app usage page.

Bug: 338965652
Test: atest + manual
Change-Id: I3fb7311207da1bdb1146ea1ff041aca6adb66052
2024-06-03 19:42:26 +08:00
mxyyiyi
320c4c6f55 Dump app optimization mode expiration event data in bug report.
Bug: 338965652
Test: atest + manual
Change-Id: Id506fce6c3bc1271be2677216fc4b1cfe6ada6d0
2024-06-03 19:26:51 +08:00
chelseahao
5ce2589dba [Audiosharing] Clean up some tests - properly reset shadows and removed unused spy.
Test: atest -c com.android.settings.connecteddevice.audiosharing.audiostreams
Bug: 308368124
Change-Id: If47a00ec02fbd78146483d5a409d9bcc42b5e841
2024-06-03 15:53:58 +08:00
Sunny Shao
9614dec518 Modify the incorrect wording
Fixes: 340991772
Test: manual test
Change-Id: I4b74a3f813542c59f751318a4142d8b9a0fa9192
2024-06-03 09:31:47 +08:00
Daniel Norman
c3b2165dfe Update A11ySettings to load preferences in onCreate().
This version still only loads preferences once, but the previous attempt
commit 774bbc1ff2
created a "sliding" effect as the preferences were loaded after the page
became visible to the user.

Also reorders methods so that their position in the source file matches
the Activity lifecycle ordering.

Bug: 327052480
Test: existing A11y Settings robotest presubmit
Test: Launch this page from the Settings app, observe no sliding UI
Flag: NONE low risk visual bug fix
Change-Id: I44312ada359aef7dec8eb27c57cde2a8e00f254b
2024-06-01 22:24:18 +00:00
Chun-Ku Lin
38236869ee Merge "Update a11y shortcut images" into main 2024-05-31 17:53:12 +00:00
Joseph Vincent
7411c8df49 Merge "Update title in Face and Fingerprint settings for private space" into main 2024-05-31 17:42:07 +00:00
Chun-Ku Lin
a28e808918 Merge "Replace Magnification preview" into main 2024-05-31 17:32:00 +00:00
Treehugger Robot
f2c66a8a83 Merge "Hide VPNs from users that are hidden" into main 2024-05-31 17:16:44 +00:00
Zoey Chen
81a70e0e20 [Settings] Do not use deprecated API, onBackPressed
Bug: 318313238
Test: manual
Change-Id: I616ea3cf4b2b89905d85380305df4853d4d5d626
2024-05-31 08:26:29 +00:00
Yiyi Shen
b38092cb6c Merge "[Audiosharing] Add audio sharing loggings (P1)" into main 2024-05-31 05:40:03 +00:00