Commit Graph

141854 Commits

Author SHA1 Message Date
Bill Yi
e522b250fc Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0488dd6026ee5d8245c2664eeb2b02a1c5f002f4
2024-07-07 22:47:16 -07:00
Bill Yi
ccebfb91db Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I25aed55c2ff602d0c87f5dff1a89f984a568638c
2024-07-07 22:45:39 -07:00
Bill Yi
d769e1a8d7 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I72f168896fd064fc07902b1b651b3c7ea96a1402
2024-07-07 22:44:08 -07:00
Shaowei Shen
76129cbe23 Merge "[Touchpad Setting] Hide Touchpad page when there's no connected one" into main 2024-07-08 03:55:14 +00:00
Matías Hernández
574fcaf1b2 Add mode: Choose name and icon for new custom modes
This also unifies the "icon picker" screen with the new "add mode" screen since in both cases we want to edit name and icon together (and not save updates until the user confirms).

Bug: 326442408
Bug: 346278854
Test: atest com.android.settings.notification.modes
Flag: android.app.modes_ui
Change-Id: I8a9d07ba0b6c55f3abc1b9884f278d51d178dc83
2024-07-06 22:12:58 +00:00
Matías Hernández
606f9b1727 Merge "Use a temporary summary in the "Apps that can interrupt" preference" into main 2024-07-06 10:42:23 +00:00
Matías Hernández
ec376bcfce Use a temporary summary in the "Apps that can interrupt" preference
We load the list of apps in a background thread, so getting that string later was causing the preference to increase in height, with an annoyingly noticeable animation. Having a placeholder test ensures this doesn't happen (and actually loading is pretty fast, so this text lkely won't even be visible).

Fixes: 347744856
Test: atest ZenModeAppsLinkPreferenceControllerTest
Flag: android.app.modes_ui
Change-Id: I4f9f60104fb8b0abbc7c4279b87daafac481e98a
2024-07-05 17:36:47 +02:00
Ioana Alexandru
5c642663de Merge "Consolidate statusbar/notification and notification/" into main 2024-07-05 08:35:54 +00:00
shaoweishen
60eae5e01c [Touchpad Setting] Hide Touchpad page when there's no connected one
The option for entering page already has complete check condition.
Update the same check logic to isSeachable in setting page to hide
page when there's no touchpad connected.
Also apply check on trackpadTouchGesture.

Test: verify on device
Bug: 346497646
Flag: EXEMPT bugfix
Change-Id: I1730c7bd1fd2615dc1725ec0cc32293254e5b54a
2024-07-05 08:18:48 +00:00
Sunny Shao
79c69fccd1 Fix display problem in the freeform mode
Fixes: 347373574
Flag: EXEMPT bugfix
Test: manual test
Change-Id: Ia1333474059988a524fc0ca49e7062b51da2cc37
2024-07-05 15:41:57 +08:00
Treehugger Robot
9b192cf15b Merge "Settings: fix unexpected routing selection" into main am: a02b1c3aa2 am: 226c0d5487
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3160065

Change-Id: I1fa2395682dfb3b94b2cc1b8fa269fa8e17b305d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-05 07:36:20 +00:00
Treehugger Robot
226c0d5487 Merge "Settings: fix unexpected routing selection" into main am: a02b1c3aa2
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3160065

Change-Id: I6ccacc71a9848cc2f030fb2612f3762172e893ae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-05 07:17:38 +00:00
Treehugger Robot
476323f0b0 Merge "Disable "Add network" if DISALLOW_ADD_WIFI_CONFIG" into main 2024-07-05 06:58:17 +00:00
Treehugger Robot
a02b1c3aa2 Merge "Settings: fix unexpected routing selection" into main 2024-07-05 06:46:04 +00:00
Wilson Wu
5146bc8ce2 Merge "Simplify default keyboard vibration settings value" into main 2024-07-05 02:28:03 +00:00
MiltonWu
b9049f7588 Fix FP enroll page content overlapped by buttons
(Setup)FingerprintEnrollFindSensor apply the same theme with
FingerprintEnrollIntroduction to set clipToPadding/clipChildren to true.

Fix: 338955329
Test: Set largest display/text size, Check
      (Setup)FingerprintEnrollFindSensor UI on SFPS/UDFPS devices with
      Light/Dark theme
Flag: EXEMPT bug fix
Change-Id: I61d74134cea932bd9f6bdc944ed905a8282deeeb
2024-07-05 02:05:20 +00:00
Treehugger Robot
78beeb1d30 Merge "Gray out admin-disabled screenlock option properly" into main 2024-07-05 01:31:34 +00:00
Weng Su
a7b13c11cd Disable "Add network" if DISALLOW_ADD_WIFI_CONFIG
- When DISALLOW_ADD_WIFI_CONFIG is not restricted by Admin
  - Disable the preference directly

Bug: 335387874
Flag: EXEMPT bugfix
Test: Manual testing
atest -c AddWifiNetworkPreferenceTest

Change-Id: I0bb08656971107c73d7632a395a820d03723620b
2024-07-05 06:52:36 +08:00
hoffc
99e33291d3 Settings: fix unexpected routing selection
setRouterGroupId in WifiDisplayPreferenceController will result in unexpected routing selection in MediaRouter, which will lead to WFD scanning not be triggered when entering WFD settings page if there is one remembered WFD device exists before reboot.

Remove the set group id call.

Bug: 351110755

Change-Id: I0d434543338d9896116541963f31e4669d877ea8
2024-07-04 09:02:23 +00:00
YK Hung
8d5d69d62f Merge "Avoid dump BatteryReattributeDatabaseHist if the feature is disabled" into main 2024-07-04 06:12:53 +00:00
Haijie Hong
5d96249d6e Add ring indicator for battery level
Bug: 343317785
Test: atest AdvancedBluetoothDetailsHeaderControllerTest
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: Ib657db60be8d377ea990674c4d2438ea8a6854d0
2024-07-04 13:26:48 +08:00
YK Hung
e15e2397af Avoid dump BatteryReattributeDatabaseHist if the feature is disabled
Fix: 346706894
Fix: 350798552
Test: atest SettingsRoboTests:com.android.settings.fuelgauge.batteryusage
Flag: EXEMPT bug fix
Change-Id: I1670e2769bc71fe91a752efeea18074d53c5a017
2024-07-04 04:59:34 +00:00
Wilson Wu
2ae9ed0297 Merge "Clean up the keyboard vibration config" into main 2024-07-04 02:45:29 +00:00
Pawan Wagh
86a9e06419 Repost PageAgnostic mode notification when dismissed
Device is in experimental mode when using 16kB developer option.
When the notification is dimissed, repost it again.

Bug: 351029724
Test: m Settings && adb install -r $ANDROID_PRODUCT_OUT/system_ext/priv-app/Settings/Settings.apk
Flag: EXEMPT bugfix
Change-Id: Ie579b6c4dd060b165c6cc8ae635d48e257d49bec
2024-07-03 22:00:45 +00:00
Julia Reynolds
4fd34aa386 Create a new link preference for priority modes entry
Test: ZenModesSummaryHelperTest
Test: manual. Successfully search for both 'event' and 'priority'
Flag: android.app.modes_ui
Bug: 341726633
Change-Id: Ib7bd1a5c2f7b06b1728a66f7a9cef53cd45acc0b
2024-07-03 16:22:20 -04:00
Julia Reynolds
6632826881 Merge "Fix IndexOutOfBoundsException" into main 2024-07-03 18:01:46 +00:00
Alina Zaidi
903976cd34 Merge "Update OWNERS for DesktopModePreferenceController" into main am: ed9bccb0b3 am: 7b4fcc6006
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3159736

Change-Id: Ibb60677d29ad574c106f95391f4572b0e142864b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-03 17:52:03 +00:00
Alina Zaidi
7b4fcc6006 Merge "Update OWNERS for DesktopModePreferenceController" into main am: ed9bccb0b3
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3159736

Change-Id: I79c2dd015ce63fa0fe658daf486971f48917f0ae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-03 17:37:22 +00:00
Alina Zaidi
ed9bccb0b3 Merge "Update OWNERS for DesktopModePreferenceController" into main 2024-07-03 16:42:23 +00:00
Alina Zaidi
a059eabdb3 Update OWNERS for DesktopModePreferenceController
Change-Id: I446525a06480a27f80e530c65181fd31f43a9ef8
Test: N/A
Flag: EXEMPT Ownership cannot be flagged
2024-07-03 16:22:23 +00:00
Pawan Wagh
e1a69960f9 Merge "Fix flaky test for persistent notifications" into main am: b6fc7a6f58 am: fdd68f473b
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3156445

Change-Id: I0635a73774b0db08c401ef2523b2da13b0b359f9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-03 15:47:26 +00:00
Pawan Wagh
fdd68f473b Merge "Fix flaky test for persistent notifications" into main am: b6fc7a6f58
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3156445

Change-Id: I0c2f3c0445e06e63a26cc69efa326c8ccabf0e66
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-03 15:36:52 +00:00
Pawan Wagh
b6fc7a6f58 Merge "Fix flaky test for persistent notifications" into main 2024-07-03 15:14:25 +00:00
Yuri Lin
900412914f Merge "Right-align "end time" portion of the schedule setter." into main 2024-07-03 15:07:09 +00:00
Julia Reynolds
bb10c9f4df Fix IndexOutOfBoundsException
Test: none, MonkeyComboTest_StabilityMonkey
Fixes: 341614935
Flag: EXEMPT bugfix
Change-Id: Id52bcbc40145d7dca477425322e317abc2268a59
2024-07-03 09:32:59 -04:00
Rubin Xu
935cea2ca7 Gray out admin-disabled screenlock option properly
Fix an issue where some sceenlock options are disabled
by admins but not showing up as grayed out.

Bug: 288081292
Flag: EXEMPT bug fix
Test: manually with `am start  -a android.app.action.SET_NEW_PASSWORD
  --ez isSetupFlow true --ei android.app.extra.PASSWORD_COMPLEXITY 327680`
Change-Id: I4aab61a052bc2c5146f44d0bfcd8153e3f2cee92
2024-07-03 10:55:47 +00:00
SongFerng Wang
9ff81e6b3a [automerger skipped] Merge "Fix AppBatteryPreferenceTest flaky" into main am: 5462789fae -s ours am: 7423e21ba3 -s ours
am skip reason: Merged-In I5a1753835d2d47712ea249081c9a77c455eb3291 with SHA-1 23c66d1278 is already in history

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

Change-Id: Ied279905ec1a6595f12660660cdca09c1bf3b2a3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-03 10:08:42 +00:00
Chaohui Wang
69b1c7c99a [automerger skipped] Fix AppBatteryPreferenceTest flaky am: 6a6a263177 -s ours am: 362df0c72b -s ours
am skip reason: Merged-In I5a1753835d2d47712ea249081c9a77c455eb3291 with SHA-1 23c66d1278 is already in history

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

Change-Id: I03f98e2cd44550bdcd303de8bca8efccfab648bf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-03 10:08:36 +00:00
SongFerng Wang
7423e21ba3 [automerger skipped] Merge "Fix AppBatteryPreferenceTest flaky" into main am: 5462789fae -s ours
am skip reason: Merged-In I5a1753835d2d47712ea249081c9a77c455eb3291 with SHA-1 23c66d1278 is already in history

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

Change-Id: I801504ca58905818b24c761bd4b331cac195857f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-03 09:47:55 +00:00
Chaohui Wang
362df0c72b [automerger skipped] Fix AppBatteryPreferenceTest flaky am: 6a6a263177 -s ours
am skip reason: Merged-In I5a1753835d2d47712ea249081c9a77c455eb3291 with SHA-1 23c66d1278 is already in history

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

Change-Id: Icc52784d754185fad53557d964344f267940d8a4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-03 09:47:50 +00:00
SongFerng Wang
5462789fae Merge "Fix AppBatteryPreferenceTest flaky" into main 2024-07-03 09:34:52 +00:00
Fan Wu
6f6d3e7263 Merge "Remove Use on-screen keyboard preference from Physical Keyboard page" into main 2024-07-03 09:27:44 +00:00
SongFerng Wang
6213cb9aa9 Merge "Fix UI flashing after changing network mode" into main 2024-07-03 08:10:12 +00:00
Fan Wu
ec5df5cd1e Remove Use on-screen keyboard preference from Physical Keyboard page
Bug: 304460009
Flag: EXEMPT removing preference from xml
Test: on device
Change-Id: Ibb0517c5ffa4addb52f1b0469f30c5126bd5828a
2024-07-03 06:29:54 +00:00
Tiger Huang
362a5f9450 Merge "Fix certificate manager UI (take 2)" into main 2024-07-03 06:23:53 +00:00
Jayant Chowdhary
8569d2ade0 Merge "Exclude webcam and MIDI USB preferences from requiring auth challenge" into main 2024-07-03 04:55:58 +00:00
Treehugger Robot
bee9ccf37b [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: 8f3e07f4a1 -s ours
am skip reason: contains skip directive

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

Change-Id: Ieec5be91dc84ed02e9d3e3ee0c5f9c4299eadcd9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-03 03:19:34 +00:00
Bill Yi
dfc13dc331 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 374b49a643 -s ours
am skip reason: contains skip directive

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

Change-Id: I429303bd859a00c40a3438275b138022ec0ebf8d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-03 03:19:28 +00:00
Treehugger Robot
c3630d9830 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: acb60976c5 -s ours
am skip reason: contains skip directive

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

Change-Id: I70d0ac690e32e8eaf201e0bb9a92f0246cb14bcd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-03 03:19:19 +00:00
Bill Yi
029bf91c40 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8f794e6c05 -s ours
am skip reason: contains skip directive

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

Change-Id: I1e62202ea93e002678cda56e12fa77caecd6dc40
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-03 03:19:13 +00:00