danielwbhuang
09b9d052fc
Create a new region picker page
...
1. The region which is selected in region picker will also apply to the first locale.
2. When a user change the first locale, the region of the first locale will be updated to the region picker.
Bug: 385047778
Flag: com.android.settings.flags.regional_preferences_api_enabled
Test: check hsv
Change-Id: I001e0910ce9d1601513ed2f52e6ee30d3551859f
2024-12-20 16:12:25 +08:00
Jacky Wang
70c56ec8c9
[Catalyst] Update getRead/WritePermissions return type
...
NO_IFTTT=Catalyst only
Bug: 374115149
Flag: com.android.settings.flags.catalyst_mobile_network_list
Test: devtool
Change-Id: I30c93cc1c07691c1e0498916bbdfb423fa1734a0
2024-12-20 13:38:49 +08:00
Treehugger Robot
75cae48694
Merge "[HSUM] Fix BatteryOptimizationModeAppListPageProviderTest" into main
2024-12-19 21:06:29 -08:00
mxyyiyi
56c4bd723a
[HSUM] Fix BatteryOptimizationModeAppListPageProviderTest
...
Headless System User Mode will use startActivityAsUser() instead of startActivity().
Bug: 383541859
Flag: EXEMPT bug fix
Test: atest BatteryOptimizationModeAppListPageProviderTest
Change-Id: Ic4a0fca1a5835c0dab292b8665551cb2ca9f6640
2024-12-20 11:52:04 +08:00
Kyle Zhang
3d84ccf8a2
Fix force L3 preference unit test
...
Bug: 385101776
Change-Id: I898b7855d3922636c09c99414cdaefee236fc71f
2024-12-19 16:02:45 -08:00
Dongzhuo Zhang
a88bee12d6
Merge "Update cloud_off icon color to match with the theme color." into main
2024-12-19 13:17:13 -08:00
Dongzhuo Zhang
2fdea0aa59
Update cloud_off icon color to match with the theme color.
...
Test: atest CtsSettingsTestCases
Bug: 382359013
Flag: com.android.settings.flags.enable_contacts_default_account_in_settings
Change-Id: I9d0e7d70798b230dada5711b392c76bbf94a07f4
2024-12-19 11:41:45 -08:00
Bill Yi
fa4cbfc7b7
Merge "Import translations. DO NOT MERGE ANYWHERE" into main
2024-12-19 11:40:41 -08:00
Bill Yi
05830e69f6
Merge "Import translations. DO NOT MERGE ANYWHERE" into main
2024-12-19 11:40:41 -08:00
Azhara Assanova
f2f9874122
Merge "[AAPM] Add advanced protection dialog according to API feedback" into main
2024-12-19 09:41:27 -08:00
Jason Hsu
aea33ee8d2
Merge "Fix '<b>' did not get bold in HearingDevice footer." into main
2024-12-19 08:39:01 -08:00
Jason Hsu
a21781781e
Merge "Update contentDescription to announce 'than' rather than '>'" into main
2024-12-19 08:38:33 -08:00
Vladimir Komsiyski
af3e3026ff
VDM Settings
...
Demo: go/vdm-settings-demo
Bug: 371713473
Bug: 338974320
Test: atest
Flag: android.companion.virtualdevice.flags.vdm_settings
Change-Id: I4a818b1b31ad59ee3de22105b969aec4c7f4d529
2024-12-19 04:57:19 -08:00
SongFerng Wang
b8c4231fed
Merge "Add nonNull check for SubscriptionInfoEntity to avoid Settings NPE" into main am: 51769c2ed4
am: bb4a442684
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3405179
Change-Id: Ida3e7053ec531ed13f2121fc8861a472f02b70a4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-12-19 04:04:09 -08:00
SongFerng Wang
bb4a442684
Merge "Add nonNull check for SubscriptionInfoEntity to avoid Settings NPE" into main am: 51769c2ed4
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3405179
Change-Id: If5614a4e728ea949b8fa07a7c5a90aa506a6093b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-12-19 03:41:41 -08:00
jasonwshsu
9b4575a52a
Fix '<b>' did not get bold in HearingDevice footer.
...
Root Cause: Did not use <![CDATA[ ...]]> to represent it contains html tag <b>.
Solution: Use <![CDATA[ and Html.fromHtml to add Spanned for the footer string.
Bug: 378806589
Test: Enable bold text to test the effect
Flag: EXEMPT bugfix
Change-Id: I56827dc18e7183c0458c83dac0dbeca7eb8bb16d
2024-12-19 19:36:08 +08:00
SongFerng Wang
51769c2ed4
Merge "Add nonNull check for SubscriptionInfoEntity to avoid Settings NPE" into main
2024-12-19 02:56:12 -08:00
jasonwshsu
7bb0c30688
Update contentDescription to announce 'than' rather than '>'
...
Root Cause: Talkback announce '>' (greater than), which is not user expected.
Solution: Update contentDescription with string contain 'than'
Bug: 378804585
Test: Enable screen reader to check
Flag: EXEMPT bugfix
Change-Id: Ibc7a2f7c7d1100dd25ddf29c2fffb22ac5ad52c6
2024-12-19 16:39:59 +08:00
Vincent Wang
19544f9079
Merge "Remove reduant files from settings" into main
2024-12-19 00:27:51 -08:00
Angela Wang
597b3c6480
Merge "Reset descriptions for SeekBarPreference" into main
2024-12-18 20:38:58 -08:00
Daniel Norman
5e390e57b5
Merge "Strings updates for the new version of High contrast text." into main
2024-12-18 20:24:22 -08:00
Treehugger Robot
352a867aec
Merge "[Catalyst] Include read/write permissions in get preference API" into main
2024-12-18 20:11:28 -08:00
Chelsea Hao
341fe8eb13
Merge "Export AudioSharingReceiver
so that it could be launched by sysui." into main
2024-12-18 19:18:15 -08:00
YK Hung
702da9b565
Merge "[Expressive Battery] Tweak the animation of Battery Usage screen." into main
2024-12-18 19:04:30 -08:00
Daniel Norman
d6e53163fd
Strings updates for the new version of High contrast text.
...
These strings may be replaced again after our UX Writing team provides
new strings for the final public release.
Bug: 384791485
Test: observe new strings; see http://b/384791485#comment2
Flag: EXEMPT strings changes
Change-Id: I5359bc3d6faca84238fe00801a5d68e5ef8ffc2f
2024-12-18 18:35:45 -08:00
Jacky Wang
a8dad23365
[Catalyst] Include read/write permissions in get preference API
...
Bug: 374115149
Flag: com.android.settingslib.flags.settings_catalyst
Test: unit
Change-Id: I69a92a8029b94ca03d6232164edddf1a987201be
2024-12-19 10:13:19 +08:00
Angela Wang
7dfbf6c92e
Merge "[Ambient Volume] Migrate to use AmbientVolumeUiController in SettingsLib" into main
2024-12-18 17:52:47 -08:00
Treehugger Robot
0abc339959
Merge "[Catalyst] Update brightness preference to FloatPersistentPreference" into main
2024-12-18 17:05:42 -08:00
Treehugger Robot
4436870086
[automerger skipped] Merge "Fix the NPE in the tryToFetchUsageData() method" into main am: 250101cd8f
am: 3464d757ff
-s ours
...
am skip reason: Merged-In I4167becf373a6279135261bbaff44ef0888728fa with SHA-1 291e92d649
is already in history
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3424441
Change-Id: I18325002f4036652b8b471e0cb86d7d090c5309a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-12-18 15:15:13 -08:00
Treehugger Robot
3464d757ff
Merge "Fix the NPE in the tryToFetchUsageData() method" into main am: 250101cd8f
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3424441
Change-Id: I7376d3e498ebca9eeaa90244d8b2da6b6ad7d658
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-12-18 14:50:31 -08:00
Treehugger Robot
250101cd8f
Merge "Fix the NPE in the tryToFetchUsageData() method" into main
2024-12-18 14:30:37 -08:00
Pat Manning
18ca825d21
Merge "Update pointer fill option backgrounds for color contrast and touch target size." into main
2024-12-18 14:22:07 -08:00
YK Hung
7ea9d15853
Fix the NPE in the tryToFetchUsageData() method
...
Test: atest
Bug: 371490669
Fix: 371490669
Flag: EXEMPT for simple fix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:291e92d6493b9640bc87bc787b58daa0936bae8e )
Merged-In: I4167becf373a6279135261bbaff44ef0888728fa
Change-Id: I4167becf373a6279135261bbaff44ef0888728fa
2024-12-18 13:35:29 -08:00
Riley Jones
821bbb415d
Merge "Cleanup of AccessibilityUtil#hasValueInSettings" into main
2024-12-18 12:04:56 -08:00
Henri Chataing
4918001a03
Merge "Update the cache of a2dp config before writing config." into main am: 18eac4ef27
am: bde00faa0c
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3350514
Change-Id: Id958e2cfc3802dda11c26b9b21a8509a8bbd0473
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-12-18 09:13:15 -08:00
Henri Chataing
bde00faa0c
Merge "Update the cache of a2dp config before writing config." into main am: 18eac4ef27
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3350514
Change-Id: I56c1fe945677d5eac84756cf87aab233724ef01d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-12-18 08:50:14 -08:00
Treehugger Robot
881a8248ac
Merge "Replaced exception with more elegant option in Time Settings" into main
2024-12-18 08:30:10 -08:00
Geoffrey Boullanger
b20399d91f
Replaced exception with more elegant option in Time Settings
...
Currently, some controllers in the Date and Time settings page throw exceptions if a capability is not known. This would cause the Settings app to crash, so we are moving away from exception and replacing it with the deactivation of the controller.
Test: manual
Flag: EXEMPT refactor
Bug: 296835792
Change-Id: I56b01ec6d9eebf721deeb4f67aa177742482dd53
2024-12-18 16:28:41 +00:00
Henri Chataing
18eac4ef27
Merge "Update the cache of a2dp config before writing config." into main
2024-12-18 08:17:34 -08:00
Pat Manning
b50acbfeea
Update pointer fill option backgrounds for color contrast and touch
...
target size.
Fix: 374885995
Fix: 374886964
Test: Manual.
Flag: EXEMPT Bugfix.
Change-Id: Ibf09bfae4a93868ac3605748854ccaaa10847eb6
2024-12-18 14:56:45 +00:00
mxyyiyi
c369a8df5a
[Expressive Battery] Tweak the animation of Battery Usage screen.
...
Fix the blinking while tapping chart to select time intervals.
- setHasStableIds(true) to avoid BatteryChartView create viewHolder again when SettingsPreferenceGroupAdapter invoke notifyDataSetChanged()
Recover the fade-in animation when display the hourly chart for the first time.
- set the default alpha of hourly chart in xml to 0.
Bug: 378997970
Bug: 349652542
Flag: EXEMPT bug fix
Test: visual
Change-Id: Ia6c131452fca65db7149664c7e18ca68e9703def
2024-12-18 21:38:27 +08:00
Graciela Putri
554684444a
Merge "Clean up app default flag" into main
2024-12-18 05:38:14 -08:00
Roy Chou
b694a0afc9
Merge "feat(brightness suw): hide brightness preferences if restricted" into main
2024-12-18 00:21:45 -08:00
Jacky Wang
45b0bfe612
[Catalyst] Update brightness preference to FloatPersistentPreference
...
NO_IFTTT=Catalyst only
Bug: 375895862
Flag: com.android.settings.flags.catalyst_display_settings_screen
Test: N/A
Change-Id: I230d30add8f6524db8548de14d9d227c167e0ef4
2024-12-18 15:47:07 +08:00
Roy Chou
79632a9fc5
feat(brightness suw): hide brightness preferences if restricted
...
By default if a RestrictedPreference is restricted then the preference
becomes disabled but still visible. But for brightness preferences in
A11y SUW we'd like to hide them if they're restricted and disabled,
since it's meaningless to show disabled items in SUW.
To achieve this, in PreferenceController#displayPreference we check the
whether the preference is RestrictedPreference and restricted, so we can
decide whether to hide it. Besides, if the preference is restricted and
we hide it, in PreferenceController#getAvailableStatis we also return
CONDITIONALLY_UNAVAILABLE to make consistency.
Bug: 384620216
Flag: com.android.settings.accessibility.add_brightness_settings_in_suw
Test: manually
atest AutoBrightnessPreferenceControllerForSetupWizardTest
atest BrightnessLevelPreferenceControllerForSetupWizardTest
Change-Id: Ifb68b4d64fc111d91a23457882a006002173d232
2024-12-18 07:05:45 +00:00
Vincent Wang
50fe9178a8
Remove reduant files from settings
...
Bug: 383036790
Flag: EXEMPT for removing legacy files
Test: Build pass
Change-Id: I815c6f12f700f4b0daaa5c0e7cfe97e12acd593f
2024-12-18 06:50:04 +00:00
Treehugger Robot
c3fecca761
Merge "Remove old PK settings pages that are unused" into main
2024-12-17 19:50:54 -08:00
Yuchen Sun
9660169518
Merge "[Expressive design] Update MainSwitch in SettingsActivity." into main
2024-12-17 17:29:06 -08:00
Yining Liu
b7ecb25410
Merge "Expose Lock screen notifications settings page." into main
2024-12-17 16:21:30 -08:00
Treehugger Robot
297c39c5f3
Merge "Update write sensitivity field name" into main
2024-12-17 15:42:34 -08:00