Commit Graph

140741 Commits

Author SHA1 Message Date
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
Quang Luong
d65e37e8a8 Change hotspot security to WPA3-Transition when switching from 6GHz
When changing hotspot to 6GHz, we auto-set the security to WPA3-SAE. However, we don't do the reverse when changing out of 6GHz, which may cause legacy devices to be unable to connect. Instead, always revert back to WPA3-Transition when switching out of 6GHz.

Bug: 323764310
Test: manual
Change-Id: I06b1e97f452da86a693812a6620c251ff5d0e932
2024-06-04 07:48:16 +00: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
ce35a584c3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic9577977162782d0b73f5e0994d16cbaf6f95777
2024-06-03 17:37:28 -07: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
5cf00bfd93 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib477c1383411c839d396e784ff3295a783b6a52a
2024-06-03 17:34:18 -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
5fb325d35d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Icaccc6fdfa98168a78ddb6336ae00354812762ee
2024-06-03 17:30:51 -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
Ram Peri
843b75308b Reduce number of tests in SettingsRoboTests
Bug: 342210014
Flag: NA not applicable
Test: atest SettingsRoboTests
Change-Id: I0465752ad84cc85e8619aba16e741030fbdfc679
2024-06-03 14:38:33 -07: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
Julia Reynolds
09040778c9 Update char limit
Change-Id: I35ba75b907a7a4ff305d18d753aaa0155ca6ac6e
Test: None comment only change
Flag: None bugfix
Fixes: 343178739
2024-06-03 14:36:09 +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
shaoweishen
0dc2d69d85 [Physical Keyboard Setting] Update navigation path
When launch setting page for specific keyboard, it will route to PK
setting first, add flag NO_HISTORY to make PK setting not been added in
stack.
So that when user navigate back, it will not back to PK setting,
which will be more consistent.

Update navigation path from:
Device Detail -> Physical Keyboard Setting -> Keyboard Detail Setting
to
Device Detail -> Keyboard Detail Setting

Bug: 330130137
Flag: N/A
Test: verify on device
Change-Id: I8d6d6a8a534dec5cd7330c4d47b38a46be76fc4d
2024-06-03 03:54:53 +00: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
Haijie Hong
3957d28a09 Fix battery talkback for advanced bt header
Test: tested in phone
Bug: 323790433
Change-Id: I52ed8694af240ae7923d7758144e6db3c590571d
2024-05-31 19:12:47 +08: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
josephpv
8f30977859 Update title in Face and Fingerprint settings for private space
Screenshots:
b/335748976#comment9

Bug: 335748976
Test: Manual
Change-Id: I3d99488f33177d4ac4aa2e4bb3c420604460ac72
2024-05-31 01:54:32 +00:00
Matías Hernández
8f93b4d789 Merge "Add default icons for all mode types" into main 2024-05-30 21:10:16 +00:00
Lifu Tang
2e8726442e Merge "Change the relative time format to LONG" into main 2024-05-30 17:56:49 +00:00
Matías Hernández
fcb8acc277 Add default icons for all mode types
Also a couple of icon-related fixes:
* Use the proper context, since we need theming (this also means it cannot be stored in IconLoader, which is a singleton, and must be supplied).
* Force apply the standard size and tint, since app-provided icons may be arbitrary.
* Fix the schedule-time icon (the viewport size was incorrect).

Bug: 308819461
Fixes: 333528437
Flag: android.app.modes_ui
Test: atest com.android.settings.notification.modes
Change-Id: Iae447c8c4a0218a8bc989c01d1d56d0c06abd8e7
2024-05-30 18:11:25 +02:00
Manish Singh
8867f686d8 Hide VPNs from users that are hidden
Bug: 342562186
Test: manual
Change-Id: I288ac0a0eef48d4a94191de2292d02a0f93310aa
2024-05-30 15:25:35 +00:00
Yuri Lin
cfaedb0199 Merge "Add page for choosing calendar & reply for event modes." into main 2024-05-30 14:59:00 +00:00
Julia Reynolds
3f208db1dd Merge "Update check boxes to switches" into main 2024-05-30 13:08:45 +00:00
Treehugger Robot
5b754d0428 Merge "Avoid flaky test fail due to no Subscription service." into main 2024-05-30 13:02:58 +00:00
tomhsu
27d2115eaf Avoid flaky test fail due to no Subscription service.
Fix: 340875634
Test: atest passed
Change-Id: Id922ace830f25dd730cad2d8aa19177988b6670d
2024-05-30 11:14:25 +00:00