Commit Graph

55526 Commits

Author SHA1 Message Date
Matthew DeVore
9e3f075c3a Merge "Show built-in display if topology is visible" into main 2024-11-28 14:24:16 +00:00
Treehugger Robot
808dc46b06 Merge "Disabled Settings preference in case Satellite's conditions." into main 2024-11-28 12:04:23 +00:00
Harry Cutts
c3dac34127 Merge "Add a11y setting for disabling touchpad system gestures" into main 2024-11-28 11:51:48 +00:00
tomhsu
9ca8709173 Disabled Settings preference in case Satellite's conditions.
Conditions
   - Satellite session started
   - Current subscription for Satellite is carrier based.
 Target preference UI in android settings
   - preferred network type
   - Automatically select network

Flag: com.android.settings.flags.satellite_oem_settings_ux_migration
Fix: b/378409439
Fix: b/378409428
Test: atest pass
Test: Manual test pass
Change-Id: I7aa04b818c8866bf5c891c28372a249c964b066f
2024-11-28 10:37:35 +00:00
Tom Hsu
01043fdf93 Merge "Fix crash due to no SatelliteManager" into main 2024-11-28 06:19:44 +00:00
tomhsu
55de3bf24b Fix crash due to no SatelliteManager
Flag: EXEMPT bug fix
fix: 381212236
Test: make pass
Change-Id: Ic10ad27c1e84ac29c5c1ccf81c073d6f216ed32e
2024-11-28 04:32:26 +00:00
tomhsu
ad74d1f1fb Modification for Satellite API change.
Input parameter changed from List to Int[]

Flag: com.android.settings.flags.satellite_oem_settings_ux_migration
Fix: b/378410271
Test: atest pass
Test: make pass
Change-Id: I1df1354fa5ceea960d41d33ab34da0a415d5fc82
2024-11-28 04:07:53 +00:00
tomhsu
22370a8a4a Make Satellite messageing dynamically change wording by network type
Flag: com.android.settings.flags.satellite_oem_settings_ux_migration
Fix: b/378410271
Test: atest pass

Change-Id: I6d2d2ba656a6e2eb26ae103f8af84a1ce5fd49c8
2024-11-28 03:14:40 +00:00
Pawan Wagh
cc66323613 Revert "Turn off voice access in 16KB mode"
This reverts commit 6de4093876.

Reason for revert: b/335443194 is fixed now

Change-Id: Id2c4584835766e9620234233b6594c0dd59b68e9
2024-11-27 22:32:08 +00:00
Aishwarya Mallampati
3e82e6840e Merge "Convert hidden SatelliteManager APIs to System APIs." into main 2024-11-27 19:33:51 +00:00
Matthew DeVore
4a3af3a735 Show built-in display if topology is visible
The topology in the External Displays list will include the built-in
display. For consistency, also show the built-in display along with the
connected displays, so there is a 1:1 correspondence between blocks in
the topology pane and display preference items.

Test: launch external display fragment with zero or one external display, verify built-in display item appears and opens Display settings if tapped
Flag: com.android.settings.flags.display_topology_pane_in_display_list
Bug: b/352648432
Change-Id: Id067034f6af5d0d6fe32f4a8091bc77d1ed75698
2024-11-27 17:50:54 +00:00
Harry Cutts
b253005342 Add a11y setting for disabling touchpad system gestures
Screenshots:
* The new setting: http://shortn/_9JL6nMS3cR
* The disabled "Learn touchpad gestures" button and accompanying footer
  when the setting is off: http://shortn/_FTcNTQAGYj

Test: disable the setting, check three- and four-finger swipes on the
      touchpad stop working; re-enable, check they work again
Test: check the toggle and heading both hide correctly when flag is off
      or no touchpad is connected
Test: check the "Learn touchpad gestures" button is disabled with an
      explanation when gestures are disabled
Bug: 353947750
Bug: 374965372
Flag: com.android.hardware.input.touchpad_system_gesture_disable
Change-Id: Ie7a6ea4e9ddd34710d07f78ab96598207aac4228
2024-11-27 16:10:54 +00:00
Yiyi Shen
df58c45702 Merge "[Audiosharing] Fix add the secondary buds to audio sharing" into main 2024-11-27 11:08:28 +00:00
Azhara Assanova
76b535473d Merge "[AAPM] Update ActionDisabledByAdminDialog and ExternalSourcesDetails strings" into main 2024-11-27 10:45:34 +00:00
Pawan Wagh
d0ffb9cea6 Merge "Add AppInfo setting for page size appcompat" into main 2024-11-27 10:25:02 +00:00
Yiyi Shen
6eabebec54 [Audiosharing] Fix add the secondary buds to audio sharing
onBroadcastMetadataChanged will trigger multiple times between adding
sinks to audio sharing. Avoid clean up device candidate list in
onBroadcastMetadataChanged

Test: manual
Bug: 381166680
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: I66693028478303b07879f5e53e60e2128aa9b114
2024-11-27 17:19:23 +08:00
Pawan Wagh
57ca4d313e Add AppInfo setting for page size appcompat
Adding preference which set the page size app compat
for given app.

Test: m Settings && adb install -r $ANDROID_PRODUCT_OUT/system_ext/priv-app/Settings/Settings.apk
Flag: page_size_app_compat_setting
Bug: 371049373
Change-Id: I91d014594e99e174f55010ca57aa19edc2071255
2024-11-27 05:48:12 +00:00
Treehugger Robot
13d90e8024 Merge "Expose the regional preferences page" into main 2024-11-27 03:45:39 +00:00
Zaiyue Xue
54cc16fd91 Merge changes from topics "battery_header_bar0", "battery_header_bar06", "battery_header_bar1" into main
* changes:
  [PixelCare] Catalyst migration for battery header
  Remove BatteryHeaderPreferenceController usage in PowerUsageSummary.
  Split battery header text to a separated preference
2024-11-27 02:17:04 +00:00
Aishwarya Mallampati
25277a0e8f Convert hidden SatelliteManager APIs to System APIs.
Convert hidden CarrierRoamingNtnModeListener in TelephonyCallback to
System API as well.

Bug: 373955860
Test: Manually tested SMS/MMS/DATA/CALL
Test: 380124630
FLAG: com.android.internal.telephony.flags.satellite_system_apis
Change-Id: I3260f84a4603866b468b187624acf97bf02f31ee
2024-11-26 22:09:52 +00:00
danielwbhuang
46a7540510 Expose the regional preferences page
1. Link ACTION_TEMPERATURE_UNIT_SETTINGS to TemperatureUnitFragment
2. Link ACTION_FIRST_DAY_OF_WEEK_SETTINGS to FirstDayOfWeekItemFragment

Bug: 381038747
Flag: android.provider.system_regional_preferences_api_enabled
Test: use test app to try intent ACTION
Change-Id: I7f8942a506a8252ebd10ee70237b51cd1923718a
2024-11-26 19:42:17 +08:00
Treehugger Robot
5059b71955 Merge "Update comments to point to the new location of event.logtags." into main am: fa6413ed0b am: 60f7c04dac
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3375731

Change-Id: Ibd83f213d51ff27f94084c70106c55285c95ccea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-26 11:06:46 +00:00
Treehugger Robot
60f7c04dac Merge "Update comments to point to the new location of event.logtags." into main am: fa6413ed0b
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3375731

Change-Id: I6a6912059c1f4c688c60deacd9382e0fa6355491
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-26 10:45:28 +00:00
Azhara Assanova
47e665802b [AAPM] Update ActionDisabledByAdminDialog and ExternalSourcesDetails strings
The new advanced protection support intent will be launched by the
existing ActionDisabledByAdminDialog if the enforcing admin of a certain
restriction is advanced protection. To determine that, Change-Id
If931dcddad508f88aac1280b587da4767b937875 introduces an API to query the
enforcing admin.

In addition, this change updates ExternalSourcesDetails to display
a disabled by advanced protection string in the preference summary.

Tests will be written in a follow up change.

Bug: 358229113
Bug: 369361373
Test: manual
Test: atest ActionDisabledByAdminDialogTest
Test: atest ExternalSourcesDetailsTest
Test: atest LocationInjectedServicesPreferenceControllerTest
Flag: android.security.aapm_api
Flag: android.security.aapm_feature_disable_install_unknown_sources
Change-Id: Icedef421d65f7ccde6562734e39a87d4458567ff
2024-11-26 10:20:18 +00:00
Daniel Huang
9fa8789fae Merge "Modify App languages entry" into main 2024-11-26 08:33:48 +00:00
danielwbhuang
f54048ad4c Modify App languages entry
1. add a new category
2. move App languages preference to the new category

Bug: 379962955
Flag: com.android.settings.flags.regional_preferences_api_enabled
Test: check hsv and atest ManageApplicationsTest, AppLocalePreferenceControllerTest
Change-Id: Ie6bdcb1899b705cff48ce3be9c0d0b060be8ee72
2024-11-26 15:15:29 +08:00
Eric Lin
d6f139b389 Update comments to point to the new location of event.logtags.
event.logtags was moved from system/core/logcat to system/logging/logcat in Android 12 by aosp/1454058.

Change-Id: I8a6d046bf31e1e0d28862664f5cc0e2e941ab60c
BUG: 168791309
Flag: DOCS_ONLY
Test: Local build
2024-11-26 07:13:23 +00:00
Zaiyue Xue
8e6066f5d6 [PixelCare] Catalyst migration for battery header
NO_IFTTT=initialization

Bug: 372774754
Test: manual
Flag: com.android.settings.flags.catalyst_power_usage_summary_screen
Change-Id: Icc1c46069147830b3360a467ffc2e666dadd3ddd
2024-11-26 14:38:16 +08:00
Zaiyue Xue
47d8e1daee Remove BatteryHeaderPreferenceController usage in PowerUsageSummary.
This is a no-op refactor. This change makes the BatteryHeaderPreference Catalyst migration doesn't depend on PowerUsageSummary.

Bug: 372774754
Test: manual
Flag: EXEMPT bug fix
Change-Id: I3d8d2856036f6840a0a163c35668f55baee487ab
2024-11-26 14:36:16 +08:00
Zaiyue Xue
178eb0bd15 Split battery header text to a separated preference
This is a no-op refactor. This change makes the Catalyst migration of battery level bar easy.

Bug: 372774754
Test: manual
Flag: EXEMPT bug fix
Change-Id: I6e64e6d9b34aeca584f4d4e951c58c3e1b361f9d
2024-11-26 13:09:12 +08:00
Treehugger Robot
29bb748539 Merge "Make UI and wording dynamically show on" into main 2024-11-26 04:47:40 +00:00
tomhsu
db43380380 Make UI and wording dynamically show on
- Satellite preferences may show on by deifferent reason. To fullfill
   these conditions, let category be able to dynamically show on base on
   the preference exist or not.
 - Show string of Connectivity or Messaging for service state change.

Flag: com.android.settings.flags.satellite_oem_settings_ux_migration
Fix: b/378408939
Test: atest pass
Test: make pass
Change-Id: Ibb0f9089805bb35d0334603e55d292c9883262ff
2024-11-26 02:44:20 +00:00
Haijie Hong
0a06641369 Merge "Add logging for LE Audio toggle enable/disable" into main 2024-11-26 02:22:07 +00:00
Riley Jones
3b5b88f650 Merge "Makes all custom caption settings unsearchable when custom captions are not active." into main 2024-11-25 21:40:20 +00:00
Matthew DeVore
0f7bf3062a Merge "Topology pane in extended displays list" into main 2024-11-25 20:59:26 +00:00
Daniel Norman
b4dbc50d6a Merge "Cleanup flag "check_prebundled_is_preinstalled"" into main 2024-11-25 20:45:50 +00:00
Daniel Norman
9808ee15bd Merge "Cleanup flag "audio_balance_state_description"" into main 2024-11-25 20:45:16 +00:00
Riley Jones
6f8e823e0e Makes all custom caption settings unsearchable when custom captions are not active.
Unifies all custom caption controllers under a base controller, whose searchability is directly determined by CaptionHelper#getCustomCaptionAvailability().

Test: atest CaptionHelperTest
Bug: 353757664
Flag: com.android.settings.accessibility.fix_a11y_settings_search
Change-Id: If44e6eca4c72aa4413cd0a6e8735dbb22c7abe62
2024-11-25 18:59:01 +00:00
Treehugger Robot
ba78d0de9f Merge "[Catalyst] Update ColorAndMotionScreen" into main 2024-11-25 18:18:37 +00:00
Matthew DeVore
6f28e1a3c7 Topology pane in extended displays list
Show an empty topology pane in the extended displays list. Even show
when no external display is connected.

This will be tweaked in a follow-up CL to include the built-in display
in the pane and the displays list.

This fixes an issue where the displays list is not shown when *no*
external displays are connected, which was not the intent of the flag.
The previous flag CL ag/30358161 only respected the flag when 1 external
display was connected.

Based on mocks at go/al-mm-figma

Bug: b/352650922
Test: reboot with zero displays attached and verify display list and pane are shown
Test: on al-13 device, make the activity fullscreen and verify the margins on left and right of pane are larger
Flag: com.android.settings.flags.display_topology_pane_in_display_list
Change-Id: If39fefe943a26c817fa6f636f21eb8aaa080adde
2024-11-25 12:06:04 -06:00
Daniel Huang
cc267e6a30 Merge "Use flag to control the hierarchy tree changes" into main 2024-11-25 15:34:57 +00:00
danielwbhuang
d53777f96d Use flag to control the hierarchy tree changes
This change includes these:
Regional preferences
-Temperature
-First day of week
-Numbering system
-Footer preference

Bug: 379962955
Flag: com.android.settings.flags.regional_preferences_api_enabled
Test: check hsv and atest FirstDayOfWeekControllerTest, NumberingSystemControllerTest, TemperatureUnitControllerTest
Change-Id: Icb628640c05f1f4bb974416c35dce16a14f84a6c
2024-11-25 21:49:07 +08:00
Shaowei Shen
1085bb4739 Merge "[Physical Keybaord] Add keyboard touchpad/Mouse page - part1" into main 2024-11-25 09:31:58 +00:00
Haijie Hong
aaac02499a Merge "Fix blank area at the bottom of device details page" into main 2024-11-25 07:01:27 +00:00
Zaiyue Xue
c044cc30c7 Merge "Branch the following two files to make the next cl easy to review." into main 2024-11-25 05:57:20 +00:00
Haijie Hong
ee20f1e411 Merge "Fix junk when loading more settings item" into main 2024-11-25 05:07:53 +00:00
Haijie Hong
8346678b1a Fix blank area at the bottom of device details page
BUG: 380003570
Test: local tested
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: Ic69b3593e6fe7214004c17a5bc2371d319d58f58
2024-11-25 12:57:30 +08:00
Zaiyue Xue
457029b355 Branch the following two files to make the next cl easy to review.
BatteryHeaderPreferenceController -> BatteryHeaderTextPreferenceController
BatteryHeaderPreferenceControllerTest -> BatteryHeaderTextPreferenceControllerTest

Bug: 372774754
Test: manual
Flag: EXEMPT bug fix
Change-Id: Ifed34f26b8229598050e9ef0da506ec656a78404
2024-11-25 12:44:10 +08:00
Jacky Wang
1413f7428c [Catalyst] Update ColorAndMotionScreen
Add icon and launch intent for ColorAndMotionScreen, also update the
entrypoint preference key to make it identical with screen key.

Bug: 373451690
Flag: com.android.settings.flags.catalyst_accessibility_color_and_motion
Test: atest
Change-Id: I1040d6fa5e8c89ddb6117a4b7671fd22c5a96578
2024-11-25 11:59:35 +08:00
Haijie Hong
d5c7d17e07 Fix junk when loading more settings item
BUG: 377531818
Test: local tested
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: Ib6f97c589473aa0c7576af966a78068da273deec
2024-11-25 11:48:19 +08:00