Commit Graph

146698 Commits

Author SHA1 Message Date
Sunny Shao
792e91743d [Catalyst] Introduce the FooterPreferenceMetadata and FooterPreferenceBinding
Test: manual test
Bug: 335132588
Flag: com.android.settings.flags.catalyst
Change-Id: Iff63b53ea335c96358a5278bd7e9a4d291c0b6d7
2025-02-12 07:17:07 +00:00
Treehugger Robot
eee74d05d5 Merge "Support invoker in FingerprintSettings" into main 2025-02-11 22:33:17 -08:00
Treehugger Robot
87a4a3dec8 Merge "[Catalyst] Create new flag for migrating Vibration & haptics page" into main 2025-02-11 18:31:38 -08:00
Riley Jones
30e63f6178 Left & Right buttons for Display size & text preview
Test: manually open page and verify buttons work
Bug: 386906497
Flag: EXEMPT small internal change dependant on xml
Change-Id: I49ecf2940be897725a0864cf898655837a3e2399
2025-02-11 23:45:08 +00:00
Pawan Wagh
4a55472cf3 Check if device is online before starting 16kb test
Test: atest -c Enable16KbTest
Bug: 390535191
Change-Id: I32cc404f8e84fba0e90ecb5b801d98908242292d
2025-02-11 22:39:38 +00:00
Yuri Lin
1500f3ecc0 Update ZenModeAddBypassingApps to not binder call for every app
This update already happened for ZenModeAllBypassingApps to use the new single binder call to get all packages bypassing DND. This change uses that method for bypassing apps as well as collecting the set of all apps with a nonzero number of channels.

Bug: 368623163
Bug: 394614704
Test: ZenModeAddBypassingAppsPreferenceControllerTest, manual to confirm correct behavior
Flag: android.app.nm_binder_perf_get_apps_with_channels
Change-Id: I72a1edcb07d18f5707591a5341d7a7338c23f42b
2025-02-11 17:20:46 -05:00
Bill Yi
74e862de8d Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-02-11 12:12:47 -08:00
Bill Yi
5084c4ac09 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-02-11 12:12:47 -08:00
Bill Yi
161ae41c34 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-02-11 12:12:47 -08:00
Treehugger Robot
bc93bb60aa Merge "We no longer need to monitor the shortcut changes on this screen" into main 2025-02-11 11:31:56 -08:00
Matías Hernández
76c89f32f7 Merge "Fix OWNERS for Settings > Notification Special Access" into main am: 9598b65442 am: 228322df95
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3489232

Change-Id: I65182c80aa7509968714fc7cc648c33277e73fea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-11 11:28:08 -08:00
Matías Hernández
0e5619882e Merge "Fix OWNERS for Settings > Modes/DND Special Access" into main am: 27f58a9de4 am: 17ed485adf
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3489233

Change-Id: Ie8c6a78dc3f645bae6b4dedc4aa508a82a8a089b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-11 11:26:47 -08:00
Matías Hernández
228322df95 Merge "Fix OWNERS for Settings > Notification Special Access" into main am: 9598b65442
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3489232

Change-Id: I38eed43b6fe5db2296a0f63a9c03bb3ce748619b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-11 10:53:45 -08:00
Matías Hernández
17ed485adf Merge "Fix OWNERS for Settings > Modes/DND Special Access" into main am: 27f58a9de4
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3489233

Change-Id: Ia8695faf3777e167ef33f6feaec6abf80a9c0b2a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-11 10:52:31 -08:00
Treehugger Robot
dbaa26f9bb Merge "Apply Expressive style "More” page-down button for Settings Face Enroll Introduction page" into main 2025-02-11 10:45:24 -08:00
Aleksander Morgado
731df0fa98 Phone number only available if telephony capable
The Phone Number field in either the about or network details pages
should not be shown if the device does not have telephony
capabilities.

Bug: 392808943
Flag: EXEMPT bugfix
Test: atest PhoneNumberPreferenceControllerTest
Test: atest MobileNetworkPhoneNumberPreferenceControllerTest

Change-Id: I04f682cc829d5dc7879e6cdacdaebc55a3b6fd2c
2025-02-11 18:43:40 +00:00
Aleksander Morgado
571103b891 Phone number only available for admin users
The phone number is hidden to non-admin users, following the same
reasoning that exists for other telephony-specific fields like the
baseband IMEI.

Bug: 392808943
Flag: EXEMPT bugfix
Test: atest PhoneNumberPreferenceControllerTest
Test: atest MobileNetworkPhoneNumberPreferenceControllerTest

Change-Id: I4e612219d0c7439930e91b3e1d6e368a0dfd073e
2025-02-11 18:30:42 +00:00
Treehugger Robot
e303458082 Merge changes from topic "catalyst" into main
* changes:
  [Catalyst] Move PreferenceRestrictionMixin
  [Catalyst] Move metrics class
2025-02-11 10:11:44 -08:00
Matías Hernández
9598b65442 Merge "Fix OWNERS for Settings > Notification Special Access" into main 2025-02-11 10:03:39 -08:00
Matías Hernández
27f58a9de4 Merge "Fix OWNERS for Settings > Modes/DND Special Access" into main 2025-02-11 10:03:34 -08:00
Jason Chang
8889927181 Apply Expressive style "More” page-down button for Settings
Face Enroll Introduction page

Flag: EXEMPT use SUW/Settings Expressive style API to check

Bug: 394223273

Test: build and manually check the UI and its behaviors
Change-Id: Iad9d6a53363fabad05b45a822f8ba6f1b83b9d7b
2025-02-11 17:41:04 +00:00
Matías Hernández
4d53572381 Fix OWNERS for Settings > Modes/DND Special Access
Change-Id: I89ff7a3d59b31a19818c0892f025a14f68e7dda9
2025-02-11 09:20:38 -08:00
Matías Hernández
3c01a5cf05 Fix OWNERS for Settings > Notification Special Access
Change-Id: I2b2009f418810039874b33c32ebe4f5218fb78a1
2025-02-11 09:20:09 -08:00
Matías Hernández
7235474792 Inline MODES_API flag
Bug: 310620812
Test: Preexisting
Flag: EXEMPT Inlining flag
Change-Id: I54ad81d87ea4ce85940400b0e8680a1bac0ca342
2025-02-11 15:14:24 +01:00
Kanyinsola Fapohunda
4141fac1db Move "Send feedback" button to the end of the list
This change moves the "Send feedback" action to
bottom of the date time settings UI

Bug: 283239837
Flag: com.android.settings.flags.datetime_feedback
Test: Manual, trivial change
Change-Id: I64fd20dd8ba846ad069bfeb458ffa0ffb4f8eab0
2025-02-11 04:50:21 -08:00
Milton Wu
54b7df1b04 Support invoker in FingerprintSettings
Support running invoker after ChallengeGenerated in FingerprintSettings.

Bug: 384399941
Flag: EXEMPT support interface, flag only used in impl part
Test: atest FingerprintSettingsFragmentTest
Change-Id: I0c01ae163a492a31c07e00c0a93829c9bfc12b91
2025-02-11 12:32:34 +00:00
Jacky Wang
a2e663dadd [Catalyst] Move PreferenceRestrictionMixin
NO_IFTTT=Catalyst only

Bug: 377600992
Flag: EXEMPT refactor
Test: atest
Change-Id: I3c26a5a56d8fd6e887e4ff4d38d8e8eb97844672
2025-02-11 20:18:43 +08:00
Jacky Wang
afbcf06654 [Catalyst] Move metrics class
NO_IFTTT=Catalyst only

Bug: 389886085
Flag: EXEMPT refactor
Test: atest
Change-Id: I8c24a4edf768aa2286adf66f16077e962080bb48
2025-02-11 20:18:30 +08:00
Vaibhav Devmurari
9dc7367909 Merge "Flag cleanup: keyboard_a11y_(bounce/slow/sticky)_keys_flag" into main 2025-02-11 04:03:17 -08:00
jasonwshsu
9cfc96d948 Show intro and footer string according to the device's supported status
Bug: 390078046
Bug: 386121967
Test: atest HearingAidHelperTest HearingDeviceFooterPreferenceControllerTest HearingDeviceIntroPreferenceControllerTest BluetoothDetailsHearingDeviceSettingsControllerTest
Flag: EXEMPT bugfix
Change-Id: I564cdb80cd14f4d2d8e882b64db939449c6936b7
Signed-off-by: Jie Wang <jie.x.wang@sony.com>
Signed-off-by: Jason Hsu <jasonwshsu@google.com>
2025-02-11 17:26:37 +08:00
Andreea Costinas
2c916f11e2 Merge "Ensure certificate alias is always visible" into main 2025-02-10 23:43:16 -08:00
Yiyi Shen
970eb2075a Merge "[Audiosharing] Set fallback group to -1 when routing to classic buds" into main 2025-02-10 22:23:32 -08:00
Treehugger Robot
63c0fd61c3 Merge "[Catalyst] Fix restriction issue on sound settings" into main 2025-02-10 21:29:48 -08:00
Yiyi Shen
009747cef9 Merge "[Audiosharing] Block pairing during audio sharing" into main 2025-02-10 21:10:43 -08:00
Jacky Wang
e9afa7c7c6 [Catalyst] Fix restriction issue on sound settings
After ag/31443354, sliders on sound settings are not disabled when
"no_adjust_volume" restriction is set. The root cause is that
`SeekBarVolumizer.setSeekBar` updates the SeekBar enabled state.

Bug: 386162594
Flag: EXEMPT bugfix
Test: atest&manual
Change-Id: I5d37c9958a693a26717a8e2d9a62ec5ef225e28f
2025-02-11 12:26:23 +08:00
SongFerng Wang
30af231cc4 Merge "Handle the sim switch for restricted ss mode case" into main 2025-02-10 20:25:41 -08:00
Treehugger Robot
1b1fa4810f Merge "[Satellite] Add satellite string for KDDI if no entitlement" into main 2025-02-10 19:30:27 -08:00
Matthew DeVore
f1fec80d25 Split up DisplayTopology.kt into 1-per-class files
This avoids a file naming conflict with DisplayTopology.java in
DisplayManager, and splits a large file. It was trivial to do since the
file had 3 top-level classes.

Test: local build and SQ
Test: atest DisplayTopologyPreferenceTest.kt
Flag: com.android.settings.flags.display_topology_pane_in_display_list
Bug: b/352648432
Change-Id: I4adc8167ab01b39a6da49f95f0cd072acec67ad4
2025-02-11 02:55:23 +00:00
songferngwang
2d5a231a46 Handle the sim switch for restricted ss mode case
The restricted ss mode case is the device lock the sim switch function
in the single sim mode. For this case, UI did not use sim onboarding
flow, and use the sim switch dialog.

Bug: 393151990
Test: verify the sim switch function in the restricted ss mode.
Flag: EXEMPT bugfix
Change-Id: I04439f254010052c78a702618d972a9cf54cece0
2025-02-11 02:26:46 +00:00
tom hsu
292f1bdd01 [Satellite] Add satellite string for KDDI if no entitlement
- Currently Android only handles Satellite w/ entitlement for any notifications. Some carriers such as KDDI have no entitlement for satellite service, so this change is to add some strings to avoid any confuse to Android user on satellite service.

Flag: EXEMPT resource update
Fix: b/382387532
Test: Manual test
Test: atest pass
Change-Id: I835787c9e0fe29eeecec0470e9bd6b38939abd8c
2025-02-10 18:26:35 -08:00
Matthew DeVore
da0bd7b412 Detect when user wanted to drag vs. click
In order to avoid sending a new topology to DisplayManager
unnecessarily, which could cause some disruptive visual effect, don't do
anything if the drag was both (a) brief and (b) did nto deviate from
start position.

Flag: com.android.settings.flags.display_topology_pane_in_display_list
Test: DisplayTopologyPanePreferenceTest
Test: manual - quickly drag as few pixels as possible and verify the block moved back after drag, with no scale change
Bug: b/352648432
Change-Id: I29ffb51c54c9dbac970149cffd86a8027f0a42f5
2025-02-11 01:52:28 +00:00
Bill Yi
fb6dd71fb7 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie3aecfcd8126a21979bf79cf0811268c213e7611
2025-02-10 13:04:43 -08:00
Bill Yi
85af9c164e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7a99325f8fa4f66a4dc54cf1ae6faceb267f2456
2025-02-10 13:02:43 -08:00
Bill Yi
75d7ad4da3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7d04876362f329383b74148b4950fe32937b6f20
2025-02-10 13:01:04 -08:00
Will Leshner
6f21b063f8 Only show "hub mode" settings when the glanceable_hub_v2 flag is true.
Bug: 395320922
Test: atest CommunalPreferenceControllerTest
Flag: com.android.systemui.glanceable_hub_v2
Change-Id: I46e5931205a219806917fafcc1a7aac3b7046796
2025-02-10 09:57:23 -08:00
Matthew DeVore
a7caa23deb Merge "Show topology pane in per-display fragment" into main 2025-02-10 09:47:44 -08:00
Tomasz Wasilczyk
f38579f786 Merge "Fix settings crashes on missing Telephony features" into main 2025-02-10 09:20:25 -08:00
Yiyi Shen
2ac50a14c1 [Audiosharing] Set fallback group to -1 when routing to classic buds
Bug: 385835055
Bug: 381946931
Test: manual
Flag: com.android.settingslib.flags.adopt_primary_group_management_api
Change-Id: I3f184c9af750221187917751e2cfdf50df112496
2025-02-10 19:08:21 +08:00
Yiyi Shen
93f9061794 [Audiosharing] Block pairing during audio sharing
When a) there are two sinks in sharing b) there is at least one temp
bond device connected

Test: atest
Flag: com.android.settingslib.flags.enable_temporary_bond_devices_ui
Bug: 392004799
Change-Id: Id093b4c0b67bdc1db621e0241e79900abbd26c0f
2025-02-10 18:38:53 +08:00
Yiyi Shen
ef77d14185 Merge "[Audiosharing] Set temp bond metadata for just bonded lea buds in sharing" into main 2025-02-10 01:52:41 -08:00