Commit Graph

142064 Commits

Author SHA1 Message Date
Matías Hernández
246960de0c Update top of modes page
* Show blurb based on mode type.
* Make the icon bigger and highlight it when mode is active.
* Increase spacing between elements.

Also eliminate some code duplication between header of mode page and header of icon picker.

Fixes: 355415875
Test: manual
Flag: android.app.modes_ui
Change-Id: I7e788b9b5920cedb791d1571b19b37e65ece6d0b
2024-07-25 21:28:27 +02:00
Yiyi Shen
e980a145eb Merge "[Audiosharing] Use a11y compliant color for dialog buttons" into main 2024-07-25 10:21:37 +00:00
Tom Hsu
e7f0d6c688 Merge "Fix crash if trying to erase the FRP data." into main 2024-07-25 08:57:25 +00:00
Yuchen Sun
01ecf76247 Add content description to QR code image for talkback.
- Rename string name for reuse purpose.

Test: Visual
Flag: EXEMPT bug fix
Bug: 350603175
Change-Id: Id5b1383c9cf1c2509a621bb9b225e0efeb58ca7f
2024-07-25 08:47:32 +00:00
Yiyi Shen
0395a8035a [Audiosharing] Use a11y compliant color for dialog buttons
Fix: 353907942
Test: manual
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: Ib034f66db0e3685458c51e0a9cbe9b534c205a69
2024-07-25 16:07:28 +08:00
tomhsu
fbb56c4d1c Fix crash if trying to erase the FRP data.
- Once factory reset protection is on, user data shall not be erased.

Flag: EXEMPT bug fix
Fix: 345587437
Test: Manual test passed
Test: atest passed
Change-Id: I9506224cae7ba12c4181f2b2c676e5eb8ec27431
2024-07-25 07:21:24 +00:00
Yuanru Qian
8a4a5f207e Merge "Developer option crashed when Bluetooth feature disabled" into main am: cff856a8bb am: 6190b5eb70
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3172099

Change-Id: Ib3ba43de73c824cb56741b3b553bdf9e55ad91db
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-25 04:51:57 +00:00
Yuanru Qian
6190b5eb70 Merge "Developer option crashed when Bluetooth feature disabled" into main am: cff856a8bb
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3172099

Change-Id: Idaa295aa767f900acc88da42bc838b7081c69504
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-25 04:29:10 +00:00
Yuanru Qian
cff856a8bb Merge "Developer option crashed when Bluetooth feature disabled" into main 2024-07-25 03:31:43 +00:00
Matías Hernández
92e46317d2 Merge "Disable all preferences (except toggle) when a mode is disabled" into main 2024-07-24 22:56:40 +00:00
Oleg Blinnikov
2c2b7a5064 Merge "External display page is not searchable" into main 2024-07-24 22:23:44 +00:00
Oleg Blinnikov
efc891fca7 Merge "External display mode limit flag in settings" into main 2024-07-24 20:50:46 +00:00
Joseph Vincent
844aad4213 Merge "Adding owners for privatespace" into main 2024-07-24 18:53:14 +00:00
josephpv
b3b8160c3f Adding owners for privatespace
Bug: 340130375
Test: Build

Flag: EXEMPT adding owners file
Change-Id: I149206896e1522cc730fc47061e4ae7071742f63
2024-07-24 18:09:43 +00:00
Matías Hernández
38aaa27625 Disable all preferences (except toggle) when a mode is disabled
Also set some alpha on the circles so that they look more or less disabled as well.

Fixes: 354867828
Test: atest com.android.settings.notification.modes
Flag: android.app.modes_ui
Change-Id: I53ef5e381d37afa20b0532f3c7ddb3f106b2e85e
2024-07-24 17:57:10 +02:00
Pat Manning
2649a7bf56 Merge "Log metrics for pointer icon settings changes." into main 2024-07-24 15:05:57 +00:00
Treehugger Robot
28323b908f Merge "Clear cache data to recalculate usage slot after receiving timezone change intent." into main 2024-07-24 13:22:30 +00:00
Matías Hernández
5eb776adef Merge "Show confirmation dialogs when enabling or disabling a mode" into main 2024-07-24 12:33:56 +00:00
Joseph Vincent
9ce298db71 Merge "Remove todo from PrivateSpaceMaitainer code" into main 2024-07-24 11:59:26 +00:00
Treehugger Robot
0039f8ec2b Merge "Make vendor can override the condition of adjusting properties of header text" into main 2024-07-24 11:40:19 +00:00
Matías Hernández
77191e9519 Show confirmation dialogs when enabling or disabling a mode
(Strings are not final, but structure is there).

Bug: 349376785
Test: atest ZenModeSetTriggerLinkPreferenceControllerTest
Flag: android.app.modes_ui
Change-Id: Ia9e604483b90bc30ad1c12e5663a07e251084073
2024-07-24 13:14:41 +02:00
Yuanru Qian
e8f15fd1f5 Merge "Remove ex-team members from OWNERS" into main am: 8303a38d10 am: 97f922d60c
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3191891

Change-Id: I6cb2cd56da335ee064fc4c4ee89c1e56f797cfca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-24 10:43:15 +00:00
Wu Ahan
560a0fa9e8 Make vendor can override the condition of adjusting properties of header text
Move the condition inside FingerprintEnrollEnrolling#maybeHideSfpsText
can be overriden by vendor implementation.

Flag: EXEMPT bugfix
Bug: 344839309
Test: Manually
Change-Id: Ie497ac973575825667f6bb4d871149488dcdaed7
2024-07-24 10:28:23 +00:00
Yuanru Qian
97f922d60c Merge "Remove ex-team members from OWNERS" into main am: 8303a38d10
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3191891

Change-Id: I39c450800b0a3fc08d7cab8e74ff7318f753cbf9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-24 10:27:41 +00:00
Yuanru Qian
8303a38d10 Merge "Remove ex-team members from OWNERS" into main 2024-07-24 10:06:07 +00:00
mxyyiyi
9933688333 Clear cache data to recalculate usage slot after receiving timezone change intent.
- Clear usage slot & even hour calculate event.

Bug: 355084572
Test: atest BootBroadcastReceiverTest
Test: atest BatteryEventDaoTest
Flag: EXEMPT bug fix
Change-Id: I0bc8b71219ce8cea3987a7bfc39b69e0c6047e3d
2024-07-24 18:02:00 +08:00
Yuanru Qian
3fac9ad21b Remove ex-team members from OWNERS
Change-Id: I025d4963e5b63a28fb0fe36df8a4e1fdd76a9b3d
2024-07-24 09:41:31 +00:00
Haijie Hong
24bf20f033 Don't add profiles to device details page if it's null
Change-Id: Ia79fa600c87905a6a2cbf8459910d67ffb9d22dd
BUG: 341293298
Test: manually test in tablet
Flag: EXEMPT minor bug fix
2024-07-24 09:11:46 +00:00
Treehugger Robot
83f934b5b0 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-07-24 05:15:15 +00:00
Treehugger Robot
4da8383ef9 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-07-24 05:15:15 +00:00
Yuchen Sun
ed3594fe61 Merge "Clean up preference_summary_default_combination in Settings." into main 2024-07-24 04:29:03 +00:00
Yuchen
48f304a23f Clean up preference_summary_default_combination in Settings.
Test: Existing tests passed
Flag: EXEMPT clean up
Bug: 328519240
Change-Id: I86996c43243b7a8e2d4b1a83180c189986b3a6ca
2024-07-24 02:36:09 +00:00
Joseph Vincent
83b2d86ff5 Merge "Check config to Show/Hide Private space Hide Illustration" into main 2024-07-23 21:41:17 +00:00
Matías Hernández
6a5e7b9631 Merge "Changes to the trigger segment" into main 2024-07-23 20:02:56 +00:00
Daniel Norman
914643da7d Merge "Checks that prebundled categories contain only preinstalled contents." into main 2024-07-23 19:14:59 +00:00
Oleg Blinnikov
1821d25d39 External display mode limit flag in settings
Use external display mode limit flag and override
for the flag in the settings to allow selection
of any resolutions with the refresh rate around 60

Change-Id: I180ba97eb9dfa14a386a7517f29504d369268563
Bug: 351831642
Flag: com.android.settings.flags.resolution_and_enable_connected_display_setting
Test: atest ResolutionPreferenceFragmentTest
2024-07-23 16:47:46 +00:00
Matías Hernández
9e2ac046e4 Changes to the trigger segment
* Switch is always visible, even without a configuration activity
* Custom icon, title, and summary for some mode types (such as SCHEDULE_TIME, etc).
* Default texts in case of missing trigger description.
* Different icons for having/missing configuration activity.
* Move the section to the top of the screen.

Bug: 349376785
Test: atest ZenModeTriggerLinkPreferenceControllerTest
Flag: android.app.modes_ui
Change-Id: I960318899cf4da20ffc5765818429d5790d05067
2024-07-23 18:14:34 +02:00
YK Hung
ba11a4246a Merge "Ignore broadcast intent from additional profile." into main 2024-07-23 15:35:46 +00:00
chayemme
ec6e93f3f4 Developer option crashed when Bluetooth feature disabled
When Bluetooth feature is disabled, crash observed with developer option
is selected

Bug: 352864331
Change-Id: If4239f710847f2e01a3b419e1ce6f783f0522219
2024-07-23 13:05:29 +00:00
mxyyiyi
d4965bd5cc Ignore broadcast intent from additional profile.
- Use isAdditionalProfile() to ignore intent from either work or private profile.

Bug: 354828134
Test: atest SettingsRoboTests:com.android.settings.fuelgauge.batteryusage
Flag: EXEMPT bug fix
Change-Id: Ic0c91d956e4bfcd53576629efab4be847c94155e
2024-07-23 19:31:05 +08:00
josephpv
f5d279c9a2 Check config to Show/Hide Private space Hide Illustration
Enable/disable the search tile content and hide illustration
in Hide Private Space Settings page based on the config value.
By default the config value is set to true which will be used in Pixel
to show the illustration and search tile content.

OEM can set value of config_enableSearchTileHideIllustrationInPrivateSpace in the device
overlay file to false to disable it and with this change it is taken
care to hide them if the config value is false

Screenshot:
go/ss/56WxtgXd5NSqVFm.png

Bug: 346612477
Test: Manual
Flag: android.multiuser.private_space_search_illustration_config
Change-Id: Ia9fbdebd9a220f4d995369d662a75989f07a2916
2024-07-23 10:25:20 +00:00
Treehugger Robot
ad105f6e17 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: 4fd09ec261 -s ours
am skip reason: contains skip directive

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

Change-Id: Ic1688157c157db610c3fa2a819d7d43c7f59e4d3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-23 09:20:42 +00:00
Bill Yi
0800707ba6 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: b7e0d7b1a6 -s ours
am skip reason: contains skip directive

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

Change-Id: I7c93ee89f3f999e32ff857dedc90f6fb8f0fa4b0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-23 09:20:38 +00:00
Treehugger Robot
b2c1fc34bb [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: dc1e74fd93 -s ours
am skip reason: contains skip directive

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

Change-Id: Ic54b98b08fea9ab35d820ca83ef4394c9b67b18a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-23 09:20:36 +00:00
Bill Yi
62f0503e44 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: d5e4ae0a80 -s ours
am skip reason: contains skip directive

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

Change-Id: I64235cb69e8dc56181dc0aae98c954f5a5356e44
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-23 09:20:31 +00:00
Bill Yi
14eb5c3968 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 6173c8acb7 -s ours
am skip reason: contains skip directive

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

Change-Id: If19f47c6fd7f002d79a6861bcd77fedc804d7ab7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-23 09:20:18 +00:00
Treehugger Robot
0bd9bd7607 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-mainline-prod am: 7c78a90387 -s ours
am skip reason: contains skip directive

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

Change-Id: I9271d92bbafc8f58e39935393761aa131037074a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-23 09:06:44 +00:00
Bill Yi
c3232dd6ff [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 6ac305bdc5 -s ours
am skip reason: contains skip directive

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

Change-Id: Ib1b4ff49ca90f5b21e011af720d1de8d6af7bd07
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-23 09:06:34 +00:00
Bill Yi
7c7cd1be3a [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 6a8dff19ac -s ours
am skip reason: contains skip directive

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

Change-Id: I571505bd98721cde03a5405512b155d6b704ab14
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-23 09:06:13 +00:00
Treehugger Robot
4fd09ec261 Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-07-23 08:53:49 +00:00