Commit Graph

139506 Commits

Author SHA1 Message Date
Treehugger Robot
a9f137842a Merge "Fix MobileNetworkSettings kotlin.UninitializedPropertyAccessException" into main 2024-04-02 12:12:11 +00:00
Xinyi Mao
9db553f264 Merge changes from topic "screentime" into main
* changes:
  Fix summary for system components which 30 sec <= usage time < 1 min.
  Fix purge condition for system component in BatteryDiffData.
2024-04-02 10:59:14 +00:00
songferngwang
34cec1389e Fix MobileNetworkSettings kotlin.UninitializedPropertyAccessException
Bug: 332477183
Test: atest MmsMessagePreferenceControllerTest

Change-Id: I849ca0f333f5246d73192ae4180b3f3ce3946d61
2024-04-02 10:18:03 +00:00
Chaohui Wang
00c21da30e Correct the data usage warning
- For MATCH_WIFI, only shown non carrier warning when has SIM
- For others, restore the previous operator warning

Bug: 331184249
Test: manual - on DataUsageList
Change-Id: I5d5c6b36c6874a547cc635c025aa77acadf6e1e3
2024-04-02 17:14:42 +08:00
mxyyiyi
52672ca34b Fix summary for system components which 30 sec <= usage time < 1 min.
- formatElapsedTimeWithoutComma(withSecords = false,) will round up minutes by adding 30 seconds.
https://screenshot.googleplex.com/8HrDpLi8FX8tjJy

Bug: 321265878
Test: Manual
Change-Id: I779bd7c33bbb3aefa0a88f6ba42d047259bc50cc
2024-04-02 17:00:51 +08:00
Fan Wu
a6289cddd9 Merge "Remove LooperMode.LEGACY usage from settings/development" into main 2024-04-02 08:13:37 +00:00
Treehugger Robot
22d908e932 Merge "Remove the char limit of unrestricted_app" into main 2024-04-02 08:09:49 +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
e54d35f774 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id4cdb977175bdc2dd6291873303a461efba52273
2024-04-01 23:54:33 -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
a4f15a4518 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0c2ff5d63d200e1969f93575a0a5f51abe3b5fcb
2024-04-01 23:50:05 -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
Bill Yi
68e334b208 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Idcf5bc5177da1818b75a235c8a22cbaf5dda728d
2024-04-01 23:47:25 -07:00
Bill Yi
bb74a16786 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I66011caa4f1408ea66c4636a96fac3b9bd71b04d
2024-04-01 23:45:38 -07:00
Bill Yi
0d947dfd61 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6040cc5f1e0be6743acc722546890d2ec0e45970
2024-04-01 23:43:43 -07:00
mxyyiyi
077158e2a6 Fix purge condition for system component in BatteryDiffData.
- System component do not have screen-on-time, use foreground usage time (also the mUsageDurationMs in BatteryEntry).

Bug: 321265878
Test: Manual
Change-Id: I8e9d60b1953fe4b0aaf42380b0fdadb75b191479
2024-04-02 14:15:03 +08:00
Kyle Zhang
b99087280f Allow CDM version v19 or later
Bug: 301669353
Change-Id: I8bd93bdf6b30db93f5b31792f6a2c778856cf361
2024-04-02 04:28:50 +00:00
Treehugger Robot
3f3785aacb Merge "Fix the a11y focus problem in a long list page" into main 2024-04-02 03:56:29 +00:00
Chaohui Wang
b3426fe88b Merge "Filter buckets with zero usage" into main 2024-04-02 03:25:44 +00:00
Chaohui Wang
e1d486b29e Remove the char limit of unrestricted_app
For better translations.

Bug: 331352715
Test: presubmit
Change-Id: Iac13f557365789fb237e2ec738830a67f310cb37
2024-04-02 11:00:00 +08:00
Jason Chiu
3f0eefbd37 Fix the a11y focus problem in a long list page
While a page is scrolling to the target position, the target can't
request a11y focus, and the highlight blink animation at the moment is
also invisible.

The patch is to skip the unseen highlight animation and focus operation
when onBindViewHolder() is called before scrolling. Therefore, when the
scrolling stops, the scroll listener will notify the item changed and
onBindViewHolder() will be called again to do the operations.

Also decrease the delay time of the scrolling start to make the a11y
smoother.

Bug: 318459003
Test: manual, robotest
Change-Id: Ie55b2edeb7e1feaaadb5e670f39f07f6f17b92b9
2024-04-02 10:43:28 +08:00
Samuel Huang
0ae12e27ac Merge "Add SATELLITE_COMMUNICATION to Settings app" into main 2024-04-02 01:09:04 +00:00
marcusge
8d90ba38b7 [Accessibility] Restore high contrast text
Test: local raven device
Bug: 241805782

Change-Id: Ie7d807ebc46452beb69ad41ebb3e570c2ff0a186
2024-04-02 01:07:39 +00:00
Marcus Ge
5143f265ae Merge "[Accessibility] Hide Color Contrast entry point in Accessibility" into main 2024-04-02 00:36:26 +00:00
Joshua McCloskey
ed0098d3aa UDFPS Enrollment refactor (3/N)
Test: manual.
Change-Id: Ic4bf3bd4dc8fe10814c64decf07511db174108f8
2024-04-01 23:11:47 +00:00
Rafael Higuera Silva
147cc19b53 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
Change-Id: I47d9b868b649b259d5e4008ec742317d2cb7cf51
2024-04-01 23:07:05 +00:00
Treehugger Robot
2b0c016f0f Merge "Add new dialogue when user is going to delete multiple sims where aleast on of them use RAC." into 24D1-dev am: 214646a032
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/26698313

Change-Id: I2afdf4238460799ba18bfbb478b8bdc724aa8f97
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-01 22:12:31 +00: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
Treehugger Robot
4f7bdc12c3 Merge "Clean up usages of flag remove_qs_tooltip_in_suw" into main 2024-04-01 21:33:42 +00:00
Derek Jedral
8802d4c085 Merge "getAuthority using resolveContentProvider" into main 2024-04-01 21:26:41 +00:00
marcusge
00b6384d3c [Accessibility] Hide Color Contrast entry point in Accessibility
Test: local raven device
Bug: 241805782

Change-Id: I9f0825df68a0c2bdb90ba068b0e4b133cbc8ae57
2024-04-01 20:53:14 +00:00
Chun-Ku Lin
dd915a5031 Clean up usages of flag remove_qs_tooltip_in_suw
This bug-fixing flag has been in Trunkfood in two months.

Test: existing presubmit (no functional change)
Bug: 294560581
Change-Id: I05282f1f7ee6b1bb4e4bf873771d80ae68204b4c
2024-04-01 20:13:01 +00:00
Chun-Ku Lin
f18d1f60fb Merge "Remove unneeded background and update the background color to reflect light/night theme" into main 2024-04-01 17:53:00 +00:00
Derek Jedral
9cdb54315e getAuthority using resolveContentProvider
Gets the provider info directly by providing the authority, rather than
getting all providers, and then finding the matching authority. This
should be much more efficient.

Test: local test, confirm entry point still appears
Bug: 316799867
Change-Id: I9b98cff3b8f19a6cab8dd64b433a2b3129546ada
2024-04-01 17:41:01 +00:00
Chun-Ku Lin
1dbd383b95 Merge "Replace ShortcutType with UserShortcutType to reduce duplicate declaration." into main 2024-04-01 17:30:46 +00:00
Joshua Mccloskey
ef2a778f0a Merge "UDFPS Enrollment refactor (2/N)" into main 2024-04-01 17:14:49 +00:00
Tim Murray
db775bdac9 Merge "JobScheduler: remove TARE" into main 2024-04-01 15:21:04 +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
Fan Wu
ca8f6abe3f Merge "Ignore MainClearTest as it's crashing Postsubmit process" into main 2024-04-01 09:58:57 +00:00
Treehugger Robot
b9c1632a5f Merge "Fix the action bar shows up problem" into main 2024-04-01 09:29:28 +00:00
Fan Wu
39d87927de Remove LooperMode.LEGACY usage from settings/development
Bug: 331566352

Test: atest
Change-Id: I3be4baff5cf556a875af8b4410cc2dd870fd290c
2024-04-01 17:08:36 +08:00
Haijie Hong
0f97d4fbc3 Merge "Dismiss notification shade when pairing dialog shown." into main 2024-04-01 09:08:31 +00:00
Fan Wu
ac1c5c7274 Ignore MainClearTest as it's crashing Postsubmit process
Bug: 329736064

Test: atest
Change-Id: Ia3f60a525247566f74cd93598800043581a4fc83
2024-04-01 16:59:33 +08:00
Chaohui Wang
3ea08203af Merge "Align PreSelectedTypes with Android U" into main 2024-04-01 08:55:52 +00:00
Chaohui Wang
c24af35654 Filter buckets with zero usage
Avoid app with no data usage shows in DataUsageList.

Fix: 318780411
Test: manual - on DataUsageList
Test: unit test
Change-Id: Ieafd761f4c58ca4558f3f526f092e2be33027e3d
2024-04-01 16:52:13 +08:00
Angela Wang
c82282cf95 Merge "Register callback again after service is connected" into main 2024-04-01 08:19:32 +00:00
hoffc
27255b7a7c Fix SMS and Calls preference summary displays empty.
SMS and Calls preference summary set to summary_placeholder in displayPreference's every call. But displayPreference can be called multiple times, so it may result in SMS and Calls preference summary displays empty when refreshSummary is not explicitly called after displayPreference's last call.

Move the summary placeholder setting to layout xml.

Bug: 331874741
Change-Id: I4c6f34dd813fa9a6d7e2c4df2cac279679ee6960
2024-04-01 14:08:28 +08:00
YK Hung
6d02ca945f Merge "Update logs of BatteryEntry & BatteryHistEntry" into main 2024-04-01 05:50:04 +00:00
Chaohui Wang
333c309742 Align PreSelectedTypes with Android U
The Android U pre selected types:
default,mms,supl,dun,hipri,fota,cbs,xcap

Fix: 331875869
Test: manual - on ApnSettings
Test: unit test
Change-Id: I60c9a1a68af1b78825b9f08338b6001f99699414
2024-04-01 11:50:35 +08:00