Commit Graph

140296 Commits

Author SHA1 Message Date
Kangping Dong
d454ac2963 [Thread] update Thread settings screen
Per b/327098435 the new Thread settings design proposed
(go/android-thread) is approved.

As a summary, this commit adds a new "connected devices > connection
preference -> Thread" list item and decidated config page for Thread.
Also, we simplified the airplane mode to delegate it to the mainline
code to handle it

Bug: 327098435
Test: atest SettingsUnitTests
Change-Id: Iffbb2471f5a28ec57d30a378f22642fe6ac0b9cc
2024-05-09 14:04:52 +08:00
Treehugger Robot
eb729f283c Merge "Fix flicker of "App data usage"" into 24D1-dev 2024-05-09 05:50:55 +00:00
Haijie Hong
ecaa88ccb0 Merge "Make device picker activity below status bar" into main 2024-05-09 05:14:18 +00:00
tomhsu
c8f52f816c Show dialog on BT entries in Settings
- When satellite mode is switched on BT entries shall show the warning dialog and avoid user uses these functions.

Bug: 337154438
Test: Manual test.
Test: atest pass
Change-Id: Ic9b6d44731684d1cfba87570d72dcacb905a66d2
2024-05-09 04:32:09 +00:00
sunnyshao
33aba0a694 Fix the flicker in the Lock screen page
- Due to without summary text in xml, the UI render will skip it and it
  flicker while program adding the summary later.
- Add the summary_placeholder in the shortcuts item.

Fixes: 325989849
Test: manual test
Change-Id: Icb7714c19ae73d15bccc9b6976a10cf343a16f53
Merged-In: Icb7714c19ae73d15bccc9b6976a10cf343a16f53
2024-05-09 02:43:50 +00:00
Treehugger Robot
a8ceb7fe07 Merge "Fix the display problem of the cutout" into main 2024-05-09 02:13:52 +00:00
Chris Antol
7ac80f0a0a Fix NPE in AudioSwitchPreferenceController
Change-Id: Ic97d1a6269a6d98ffd15a9b512f6ae24ff1c5b5e
Test: Unit Test to verify nullness
Bug: 338892614
2024-05-09 01:25:24 +00:00
Ang Li
9e4b73a2fa Merge "Adapt to the new API of ShadowCaptioningManager." into main am: 1d591b26a9 am: ae15c01dcc
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3080265

Change-Id: Ib0297be4453b1450eca244ce94705eebc31ef090
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-09 01:00:18 +00:00
Ang Li
ae15c01dcc Merge "Adapt to the new API of ShadowCaptioningManager." into main am: 1d591b26a9
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3080265

Change-Id: I728035ae251eeac36ec9dfbac3c0e59dded1b9c8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-09 00:38:08 +00:00
Ang Li
1d591b26a9 Merge "Adapt to the new API of ShadowCaptioningManager." into main 2024-05-08 23:35:52 +00:00
Bill Yi
408bdb1e3d [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 6cacee0ce4 -s ours
am skip reason: contains skip directive

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

Change-Id: I3fe19db53e5764bdde1986ca4ed33346ff09e901
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-08 22:51:28 +00:00
Ang Li
f0e6f12f10 Adapt to the new API of ShadowCaptioningManager.
Test: Presubmit.
Change-Id: If90894a2438ff5e0aec8e727036f7a656f4c712a
2024-05-08 22:16:33 +00:00
Bill Yi
a55daeff53 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-05-08 21:45:38 +00:00
Pawan Wagh
f815608a71 UI and error message fixes for 16k developer option
- Disallow disabling option when hardware offload
values aren't default ones. This was bypassing warning dialogue
- For ext4 format dialog, add a delete icon and change confirmation text
- Change error message when update is pending.
- Add padding to progress dialog

Test: m Settings && adb install -r $ANDROID_PRODUCT_OUT/system_ext/priv-app/Settings/Settings.apk
Bug: 295035851
Bug: 338139884
Change-Id: Ib1c3ac075a75a8515fe725103b062983ecf11fba
2024-05-08 20:49:12 +00:00
Treehugger Robot
ee721eb86b [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: a48f19c101 -s ours
am skip reason: contains skip directive

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

Change-Id: Ia6895a05e20c5f238fb5dd3d6089acb1ef26f3e3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-08 19:44:03 +00:00
Bill Yi
7faaae8722 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: faa97ab210 -s ours
am skip reason: contains skip directive

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

Change-Id: I62383ace361b9ad1e5fc293d039241275faee565
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-08 19:43:52 +00:00
Treehugger Robot
a48f19c101 Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-05-08 19:24:31 +00:00
Song Chun Fan
f6bbda8984 [Install-unknown-apps] Hide apps of system or root UID
This also reverts ag/27176160, which handled apps like Settings but missed pre23 apps. A better solution would be hide apps that are of system or root UID.

BUG: 338066634
Test: manual

Change-Id: Ia1c3f50dd7c5edb718c695737db589ef55173682
2024-05-08 19:24:01 +00:00
Joshua Mccloskey
1b55eb8bfc Merge "Update face & fingerprint pref logic" into main 2024-05-08 18:08:06 +00:00
Varun Somani
2371fb390f ARC++ PH: Rephrase the tooltip text
Rephrase of the UI tool tip text. Making it more clear for the user.

UI: https://screenshot.googleplex.com/5gkWMVmZn8zKDj4

Upstreaming-Plan: Will be merged to main once approved.
Bug: 265471993
Test: Manual
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:d8c1b2bdef1b38e1cec6335d3a63042acd479442)
Merged-In: I925aef7af63907e87a5295914cbb819c343fa168
Change-Id: I925aef7af63907e87a5295914cbb819c343fa168
2024-05-08 17:51:12 +00:00
songferngwang
d3c336a58f To correct the DDS when the user turn on mobile data
If there is only one sim and the DDS is -1, when the user turns
on the mobile data, the settings should correct the dds and set the
mobile data on.

Bug: 339382631
Test: Verify UI
Change-Id: Ib0304dc1370a0d76310da2ce6ce0de12bfb275d8
2024-05-08 11:50:31 +00:00
Haijie Hong
90e91d7aaf Make device picker activity below status bar
Test: manual test
Bug: 339191643
Change-Id: I448fea9d5e3694014d219f32f14ef52106b54194
2024-05-08 18:44:33 +08:00
Tom Hsu
965da3df32 [automerger skipped] Fix build break am: 864122b8b7 -s ours
am skip reason: Merged-In I45cd92a8688e7a619613361ea4a8d58a0984d99f with SHA-1 c0b39601bf is already in history

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

Change-Id: I97feab53d388ec087c4dbac8b0d82013b8aedf2a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-08 09:03:45 +00:00
Tom Hsu
864122b8b7 Fix build break
Bug:339348046
Test: Build pass locally
Change-Id: I98db39d696617fc81fdad4e73419b34f5265b0ad
Merged-In: I45cd92a8688e7a619613361ea4a8d58a0984d99f
2024-05-08 08:56:44 +00:00
Chaohui Wang
46a70d0369 Merge "Fix data usage when policy has no cycle" into 24D1-dev am: bb90a2c5c8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27209264

Change-Id: Ib349fb3eed75dc0d399d9a07355e170e30d1d985
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-08 08:56:39 +00:00
Chaohui Wang
bb90a2c5c8 Merge "Fix data usage when policy has no cycle" into 24D1-dev 2024-05-08 08:33:18 +00:00
Sunny Shao
975ce0ec6c Fix the display problem of the cutout
- Add the WindowInsetsCompat.Type.displayCutout.

Fixes: 332514800
Test: atest com.android.settings.UtilsTest SettingsActivityTest
Change-Id: Ieb4ffb5a18c0babe3dd1c6f3482e8585899237f0
2024-05-08 16:07:29 +08:00
tomhsu
e9e59d86ba [automerger skipped] Show dialog on Wifi, and APM' entries in Settings am: c0b39601bf -s ours
am skip reason: Merged-In I45cd92a8688e7a619613361ea4a8d58a0984d99f with SHA-1 29b2f16edf is already in history

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

Change-Id: I890800a5c4fbe87563f2a29392d04e3e810d79df
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-08 06:06:34 +00:00
tomhsu
c0b39601bf Show dialog on Wifi, and APM' entries in Settings
- When satellite mode is switched on Wifi, and APM entry shall show the warning dialog and avoid user uses these functions.

Bug: 337154438
Test: Manual test.
Test: atest pass
Change-Id: I45cd92a8688e7a619613361ea4a8d58a0984d99f
(cherry picked from commit 29b2f16edf)
Merged-In: I45cd92a8688e7a619613361ea4a8d58a0984d99f
2024-05-08 05:40:36 +00:00
Chaohui Wang
9e5b389de3 Fix flicker of "App data usage"
Use placeholder to hold the place.

Fix: 323466366
Test: manual - on Mobile Settings
Test: unit test
Change-Id: I3c4d9ff6538a79500318869f01f4b88b55bd9475
(cherry picked from commit 74fe516e09)
Merged-In: I3c4d9ff6538a79500318869f01f4b88b55bd9475
2024-05-08 05:29:27 +00:00
Chaohui Wang
0887ee4540 Use permission com.android.settings.BATTERY_DATA
In SettingsSpaUnitTests

Change-Id: Ic1bec601e773389813bce4e7663ce08c41fa3deb
Fix: 338300477
Test: presubmit
Merged-In: I5a1753835d2d47712ea249081c9a77c455eb3291
2024-05-08 04:55:37 +00:00
SongFerng Wang
42b714f450 [automerger skipped] Merge "Refacotr mobile data observer for repository" into main am: 12d49a521c am: d97504f7f3 -s ours
am skip reason: Merged-In I26c8f946823abb7505f0227c8dd8ab0700d0c5f2 with SHA-1 0a9e7046cc is already in history

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

Change-Id: Ic5e3d02d811ff3e0a05eea0b31b3c62e2ae6a3b2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-08 04:38:10 +00:00
Tom Hsu
c495d92a25 Merge "Show dialog on Wifi, and APM' entries in Settings" into main 2024-05-08 04:37:28 +00:00
SongFerng Wang
23349d60c0 [automerger skipped] Merge "Refacotr mobile data observer for repository" into 24D1-dev am: bc4293cb4e -s ours
am skip reason: Merged-In I26c8f946823abb7505f0227c8dd8ab0700d0c5f2 with SHA-1 120adb2349 is already in history

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

Change-Id: I44f8c3e8fced25930ff4b73cb1cb99631f972641
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-08 04:19:02 +00:00
Mengjun Leng
0c8d954451 [automerger skipped] Refacotr mobile data observer for repository am: 0a9e7046cc -s ours
am skip reason: Merged-In I26c8f946823abb7505f0227c8dd8ab0700d0c5f2 with SHA-1 120adb2349 is already in history

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

Change-Id: Ibd6261a5e6b23ca56a0e95f03c80af005b65e963
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-08 04:18:59 +00:00
SongFerng Wang
d97504f7f3 Merge "Refacotr mobile data observer for repository" into main am: 12d49a521c
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3059652

Change-Id: I50454802ab304a46699c0754fa077b79d637bc9f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-08 04:18:53 +00:00
YK Hung
c6661d5c14 Merge "Add new action to log battery optimizaition mode updated by Turbo." into main 2024-05-08 04:04:52 +00:00
SongFerng Wang
12d49a521c Merge "Refacotr mobile data observer for repository" into main 2024-05-08 04:00:00 +00:00
SongFerng Wang
bc4293cb4e Merge "Refacotr mobile data observer for repository" into 24D1-dev 2024-05-08 03:59:47 +00:00
tomhsu
29b2f16edf Show dialog on Wifi, and APM' entries in Settings
- When satellite mode is switched on Wifi, and APM entry shall show the warning dialog and avoid user uses these functions.

Bug: 337154438
Test: Manual test.
Test: atest pass
Change-Id: I45cd92a8688e7a619613361ea4a8d58a0984d99f
2024-05-08 03:53:32 +00:00
SongFerng Wang
36a00809a5 Merge "Avoid to show sim onboarding during the SUW" into main 2024-05-08 01:41:59 +00:00
Mengjun Leng
294e0db163 Refacotr mobile data observer for repository
In current design, the mobile data observer might be removed due to
SIM absence after registered so that mobile data network info can't
be updated to clients.

To fix it, migrate it to use API TelephonyCallback.onUserMobileDataStateChanged

Bug: 327696232
Test: manual + unit tests

Change-Id: I26c8f946823abb7505f0227c8dd8ab0700d0c5f2
Merged-In: I26c8f946823abb7505f0227c8dd8ab0700d0c5f2
2024-05-08 01:39:44 +00:00
SongFerng Wang
e2eed370e9 Merge "Refacotr mobile data observer for repository" into main 2024-05-08 01:38:57 +00:00
Mill Chen
63742cabe4 Merge "Deprecated Wifi panel and relevant objects" into main 2024-05-08 01:28:15 +00:00
Mill Chen
42ef04eb80 Merge "Deprecate Nfc panel and relevant objects" into main 2024-05-08 01:27:49 +00:00
Mill Chen
cd1537ee05 Merge "Deprecate Volume panel and relevant objects" into main 2024-05-08 01:27:11 +00:00
Bill Yi
faa97ab210 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0acd24de924d3d94f16985e24852b76a0523ab2b
2024-05-07 18:03:02 -07:00
Bill Yi
50b7661e1b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3c3891ade309549e9210cbcd564c3a5cc5c6f558
2024-05-07 18:01:12 -07:00
Bill Yi
6cacee0ce4 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I22cc98432c61957dfc19658420aa8a4174fab55d
2024-05-07 17:57:36 -07:00
Mill Chen
cf28a1bd8e Merge "Redirect Volume Panel to settings page" into main 2024-05-07 23:58:33 +00:00