Commit Graph

54460 Commits

Author SHA1 Message Date
Yuanru Qian
cadfc0187d Merge "Do not cancel bonding during bt pairing when orientation happens." into main 2024-07-29 07:05:55 +00:00
Yuanru Qian
aab162f814 Do not cancel bonding during bt pairing when orientation happens.
Flag: com.android.settings.flags.disable_bonding_cancellation_for_orientation_change
Bug: b/349542301
Test: locally tested.
Change-Id: I56867eb39ca783b23853318c39e0f25ce1a80e6f
2024-07-29 05:42:17 +00:00
Treehugger Robot
224447b3cc Merge "Remove unecessary logs" into main am: 5e487ed591 am: 5079417396
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3191355

Change-Id: Icc26cb00766929916b02230bdabc573d6c95c530
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-29 02:32:49 +00:00
Treehugger Robot
5079417396 Merge "Remove unecessary logs" into main am: 5e487ed591
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3191355

Change-Id: Ifa53f9c0acf7e57ee6a2c1e2fad9e094612aea0b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-29 02:16:39 +00:00
Treehugger Robot
5e487ed591 Merge "Remove unecessary logs" into main 2024-07-29 01:43:55 +00:00
Treehugger Robot
8daa5e4f99 Merge "Migrate to onViewCreated in DataSaverSummary" into main am: 04ed8498ee am: 88f79fe29d
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3188139

Change-Id: Icba45da65537d4af2ad5e109ec5783a2d55ccafa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-28 21:18:22 +00:00
Treehugger Robot
88f79fe29d Merge "Migrate to onViewCreated in DataSaverSummary" into main am: 04ed8498ee
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3188139

Change-Id: Ib0e4725e3b490e70d9518a2f02c418de2216e638
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-28 21:06:34 +00:00
Treehugger Robot
04ed8498ee Merge "Migrate to onViewCreated in DataSaverSummary" into main 2024-07-28 20:52:34 +00:00
Joshua McCloskey
1d9ea3fbe8 Update preferences after a fingerprint is removed.
Test: Manually verified preferences are removed.
Fixes: 355572367
Flag: EXEMPT bugfix
Change-Id: I14a09b67b8be3cbe0c5d46a959a29c333c46a872
2024-07-26 22:00:30 +00:00
Matías Hernández
e19b8743c8 Merge changes from topic "fix-weird-animation" into main
* changes:
  Fix jiggle when opening custom manual modes
  Allow turning off currently active modes
2024-07-26 20:58:15 +00:00
Treehugger Robot
dc8b74e343 Merge "Make adb team OWNERS of all Adb settings" into main am: 998787ffa8 am: ee6f5cf1ed
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3195878

Change-Id: Ifa37256b70cc3c1d7c6b22637cba040bce62ca3e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-26 18:39:33 +00:00
Treehugger Robot
ee6f5cf1ed Merge "Make adb team OWNERS of all Adb settings" into main am: 998787ffa8
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3195878

Change-Id: Idcd085b62b69bace7ddfda325b1645b6b89440ca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-26 18:25:24 +00:00
Treehugger Robot
998787ffa8 Merge "Make adb team OWNERS of all Adb settings" into main 2024-07-26 18:01:59 +00:00
Fabien Sanglard
c7adef9634 Make adb team OWNERS of all Adb settings
Test: NA
Bug: 355088188
Flags: NA
Change-Id: I59c037765940a26509f1d312b4c8c2e0105a3580
2024-07-26 10:57:43 -07:00
Chun-Ku Lin
75db151f96 Merge "[Flag cleanup] edit_shortcuts_in_full_screen is always on now" into main 2024-07-26 17:46:52 +00:00
Matías Hernández
e8306014f0 Fix jiggle when opening custom manual modes
Looks like setting Preference visibility in updateState() is too late to avoid an animation, and isAvailable() should be used instead. This forces us to split ZenModeSetTriggerLinkPreferenceController (which handled the category and its two children) into separate controllers for the category and each child. Although untangling this code was annoying, the result is arguably cleaner, since the two child preferences deal with different things.

Fixes: 355623101
Test: atest com.android.settings.notification.modes
Flag: android.app.modes_ui
Change-Id: I5fb1b3cbe424973b852f820ecf948491c050421f
2024-07-26 17:44:53 +00:00
SongFerng Wang
b1ce525751 Merge "Can not reset the sim name in the onboarding sim flow" into main 2024-07-26 16:12:48 +00:00
Alina Zaidi
e85695f88c [dev_option] Update 'Desktop mode on secondary toggle' to be
'Freeform windows on secondary diplay'.

Make sure the toggles enables freeform support on devices. This remove
reliance on 'Enable freeform windows suppport' toggle when using this
toggle.

Also update strings for all toggles to just use term 'freeform windows'
instead of 'desktop mode' or 'freeform windowing experiences'.

Two toggles have the same name 'enable freeform windows', but users will
see only one of them at a time.

Test: Added new tests
Bug: 348193756
Bug: 348186127
Flag: EXEMPT minor change
Change-Id: Ic4528618e6902d084c58a6b5ddeb4b92d63386d6
2024-07-26 13:33:23 +00:00
Matías Hernández
69ce43462e Allow turning off currently active modes
Even if they don't allow manual invocation. The button will disappear afterwards -- maybe not perfect but good enough.

Fixes: 355613076
Test: atest ZenModeButtonPreferenceControllerTest
Flag: android.app.modes_ui
Change-Id: I36cc96f7da78266be1a03e947304fc8e600899de
2024-07-26 14:47:07 +02:00
songferngwang
9fb316de8b Can not reset the sim name in the onboarding sim flow
After the sim name has been changed, the user changed back to original one.
The map did not remove the sim item, so the onboarding flow change the
sim name.

Bug: 355138239
Flag: EXEMPT bugfix
Test: atest SimOnboardingServiceTest
Change-Id: If4276320c939604b48cf2ce8c1b6b553da699c28
2024-07-26 07:06:53 +00:00
Chaohui Wang
87647c0de4 Merge "Fix race condition when requestNetworkScan" into main 2024-07-26 03:29:07 +00:00
Yi Shiou (Les) Lee
ff6a1750bc Merge "wifi: fix ADB URI doesn't work" into main 2024-07-26 00:26:26 +00:00
Chun-Ku Lin
919019ca56 [Flag cleanup] edit_shortcuts_in_full_screen is always on now
- Cleaned up the code that won't be executed when the flag is on
- Remove unused resources

Bug: 300302098
Test: Manually verify the user can change the shortcut type, and the
changes are saved
Test: atest com.android.settings.accessibility
Flag: EXEMPT removing com.android.settings.accessibility.edit_shortcuts_in_full_screen

Change-Id: I1e32b724ca3da909feda55e20fb1d51dc4680c09
2024-07-25 22:49:02 +00:00
Matías Hernández
e6198dea95 Merge changes Ibd89a826,I7e788b9b into main
* changes:
  Fixes to CircularIconsPreference & friends
  Update top of modes page
2024-07-25 22:03:15 +00:00
Les Lee
da21128568 wifi: fix ADB URI doesn't work
Using old WifiQrCode parsing for ADB Uri.

Flag: EXEMPT bugfix
Bug: 355088188
Test: Manual test & TH
Change-Id: I54a12b03ed9be6dc49fb957df0f1f7b31647810d
2024-07-25 21:38:15 +00:00
Matías Hernández
d0fc102275 Fixes to CircularIconsPreference & friends
Fixed view reuse. The views obtained from the ViewHolder should not be stored in Preference fields, since they can be rebound and thus a Preference can end up updating the wrong view.

Also added equivalence to the item class in the People segment so there is no flicker when the mode is reloaded.

Fixes: 346551087
Test: atest com.android.settings.notification.modes
Flag: android.app.modes_ui
Change-Id: Ibd89a826b19acabd9a46bb3ba2916453689636ed
2024-07-25 20:33:16 +00:00
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
Diya Bera
31ec11f0b6 Hide background when identity check auth is requested
Flag: android.hardware.biometrics.flags.mandatory_biometrics
Fixes: 354014097
Test: atest UtilsTest
Change-Id: I3af06fd9dca2bdc306496f1db832e1d1e2bfe8d2
2024-07-25 17:00:05 +00:00
Daniel Huang
d0333eb674 Merge "Add accessibility appearance related B&R function for Onboarding" into main 2024-07-25 16:50:01 +00:00
Edgar Wang
e92602f99a Merge "Fix the scrolling behavior in Settings homepage" into main 2024-07-25 14:51:18 +00:00
Quang Luong
2f257a1982 Merge "Fix mac randomization value mismatch" into main 2024-07-25 10:45:54 +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
Chaohui Wang
cf13fe7776 Create SubscriptionRepository.phoneNumberFlow
And use it in the MobileNetworkSettings.

Fix: 341318273
Flag: EXEMPT bug fix
Test: manual - on MobileNetworkSettings
Test: unit test
Change-Id: I886373c1ed5129ebd8bcceedd513e9d1776106c8
2024-07-25 16:06:02 +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
Chaohui Wang
c181d60bac Fix race condition when requestNetworkScan
requestNetworkScan() could call callbacks concurrently, so we use a
single thread to avoid racing conditions.

Fix: 345494692
Flag: EXEMPT bug fix
Test: manual - do network scan
Change-Id: Ibf38442bbd9cfbbd0762b31347645810aca1113b
2024-07-25 10:23:21 +08:00
danielwbhuang
44c25ed47a Add accessibility appearance related B&R function for Onboarding
Add entrance for B&R accessibility appearance related settings.

Flag: com.android.settings.flags.accessibility_appearance_settings_backup_enabled
Bug: 349941894
Bug: 328585994
Test: manual, need to open aconfig flag.
Change-Id: I9617da947201def01f2cfd7f20ce3d11d65f882d
2024-07-25 02:19:55 +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