Commit Graph

145881 Commits

Author SHA1 Message Date
Yining Liu
9d200f1f38 Merge changes I1dffab01,I6e34ef9b,Ia8d472ea,Icf4e7003 into main
* changes:
  Notification on lockscreen settings: adapt text view for large font
  Inverse toggles on the notifications on locks screen settings page
  Update appearance of notifications on locks screen settings page
  Remove description from notifications on locks screen settings page
2025-01-02 16:11:51 -08:00
Nikhil Nayunigari
adf30c5706 Feature flag for Ethernet Settings
Flag: com.android.settings.connectivity.ethernet_settings

Adding an aconfig flag for Ethernet Settings CUJs as defined in
go/al-ethernet-prd

Bug: b/384375770
Change-Id: I028e4ac1038416b720fa8872301f50c65f1d4a5f
2025-01-02 21:27:25 +00:00
Adam Bookatz
2a828c6bde Merge "Expand uninstallForAll to Admins" into main 2025-01-02 11:01:50 -08:00
Bill Yi
246ac6bde8 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib4dc621dfe037b8f24f1996de8cd05f4db967e10
2025-01-02 09:17:11 -08:00
Bill Yi
b43ea21813 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ida99c3332c2b0edb30238621175792496d67a288
2025-01-02 09:15:13 -08:00
Yuri Lin
023509c895 Send APP_NOTIFICATION_PROMOTION_SETTINGS intent to the preference
This adds APP_NOTIFICATION_PROMOTION_SETTINGS to the set of intents that can go to AppNotificationSettings, and additionally adds the appropriate highlight key when the fragment is started with that intent action.

Flag: android.app.ui_rich_ongoing
Test: manual with flag on & off via sending intents over adb; AppNotificationSettingsTest
Bug: 369150427
Change-Id: I1c48fdae161979f1a221f7c57e83e94f6aadc306
2025-01-02 11:04:22 -05:00
Treehugger Robot
1d0c7054b4 Merge "Add talkback hint to Wi-Fi hotspot preferences" into main 2025-01-02 05:11:03 -08:00
Hani Kazmi
8e28132ba2 Revert "Revert "[AAPM] Add advanced protection dialog according ..."
Revert submission 31078830-revert-30767017-aapm-dialog-api-feedback-TBLFTCNTUN

Reason for revert: Addressed failing test

Reverted changes: /q/submissionid:31078830-revert-30767017-aapm-dialog-api-feedback-TBLFTCNTUN

Change-Id: I3321b4f5baaca9dd270350b9201998ffe0d40473
2025-01-02 05:07:50 -08:00
Hakjun Choi
e3f0ebfe5b Prevent possible crash by adding null pointer check
Flag: EXEMPT bug fix
Bug: 383144219
Test: manually test if it works finely
Test: atest NetworkSelectRepositoryTest NetworkSelectSettingsTest
Change-Id: I55c50c7ed9856461e00239df2a683693510fd0b7
2025-01-02 04:16:54 -08:00
Haijie Hong
967a05a32d Merge "Add content description for battery charging status icon" into main 2025-01-02 02:55:58 -08:00
Haijie Hong
6c7bd9109d Don't update UI if getActivity returns null
Flag: EXEMPT minor fix
Test: local test
Bug: 383016400
Change-Id: I4d62da1a6d74db18f2c7cd20eb2e5b3825556fc5
2025-01-02 00:53:44 -08:00
Treehugger Robot
e380b4e9b3 Merge "Removed duplicate title in SetupChooseLock" into main 2025-01-02 00:41:24 -08:00
Shawn Lin
299449e29f Merge "[Biometric Onboarding & Edu] Support check enrolled fingerprint" into main 2025-01-01 21:51:52 -08:00
Fan Wu
e719575e92 Check the permission of the callingUid instead of the calling package
Bug: 372671447
Test: atest
Flag: EXEMPT bug fix
Change-Id: Ib36c0a3ba482bcddd53c2c09409ea818e6f43cad
2025-01-02 11:19:05 +08:00
Jacky Wang
16cc1a1f24 [Catalyst] Rename PreferenceScreenMetadata{Creator,Factory}
Bug: 386179791
Flag: com.android.settings.flags.catalyst
Test: manual
Change-Id: Id932b2555bd72f3635ad1a866c866b5d5535ce86
2025-01-02 10:11:26 +08:00
Chaohui Wang
99c5bf8b2c Merge "Reduce Mobile data switch flaky" into main 2025-01-01 17:44:56 -08:00
Harry Cutts
d4a469b4ca Touchpad: remove individual gesture settings
These were never plumbed in, never mind launched, and are sometimes
causing confusion in design discussions when people have the feature
flag turned on. Let's remove them.

Bug: 245989146
Test: check System > Touchpad > Touchpad gestures option is removed even
      when the flag's enabled
Flag: EXEMPT removing code controlled by a legacy sysprop-based flag
Change-Id: I22ca19faf6fed430bb3f0733867716a02514ac8d
2024-12-31 11:47:51 +00:00
Zoey Chen
3b6a8f9ba4 Merge "[Settings] Add search icon in region picker" into main 2024-12-31 02:19:47 -08:00
Zoey Chen
0f76903817 [Settings] Add search icon in region picker
Bug: 38526548
Flag: EXEMPT refactor
Change-Id: I1016f5f812d8f0c43a2b3a899bd70b6672f44481
2024-12-31 08:57:25 +00:00
Treehugger Robot
afb33b5988 Merge "Use AbstractSubscriptionPreferenceController in WifiCallingSettings" into main 2024-12-31 00:14:01 -08:00
Sunny Shao
13938078db [Catalyst] Use the AbstractKeyedDataObservable in BatterySaverStore
NO_IFTTT=Catalyst migration

Test: atest BatterySaverScreenTest
Bug: 335132588
Flag: com.android.settings.flags.catalyst_battery_saver_screen
Change-Id: I93dbffb0fdda002ed94dddb7cf94f1beeeb3e478
2024-12-31 15:54:18 +08:00
Chaohui Wang
440c3c2779 Reduce Mobile data switch flaky
Set initial value to null, so no animation when the actual value true
is emitted.

Bug: 329584989
Flag: EXEMPT bug fix
Test: manual - on SIMs
Test: unit test
Change-Id: I3eea55115f02e65dcdcc44ccf917f9083622b723
2024-12-31 14:54:54 +08:00
Jacky Wang
027a7ee71f Merge "[Catalyst] Use range int type for BrightnessLevelPreference" into main 2024-12-30 20:39:09 -08:00
Weng Su
0403cda3be Merge "[Catalyst] Add back Airplane toggle metrics" into main 2024-12-30 19:22:41 -08:00
Jacky Wang
90ee129baf [Catalyst] Use range int type for BrightnessLevelPreference
NO_IFTTT=Catalyst only

Bug: 375895862
Flag: com.android.settings.flags.catalyst_display_settings_screen
Test: devtool
Change-Id: I1f5becd58e63183a56360b355d8bf753de81242f
2024-12-31 10:42:27 +08:00
Treehugger Robot
7938eeb0d4 Merge "[Catalyst] Implement get{Read,Write}Permissions for Vibration & haptics" into main 2024-12-30 17:50:27 -08:00
tomhsu
55239c6a03 Use AbstractSubscriptionPreferenceController in WifiCallingSettings
Flag: EXEMPT task finished
Fix: 379611883
Test: atest pass
Change-Id: Ic8518ea9f6d5f9004e962e8fb92bc4b4ebc5f313
2024-12-30 16:40:54 +00:00
Michael Checo
b33674eb4f Merge "Add preference toggle for mouse pointer acceleration setting" into main 2024-12-30 08:24:32 -08:00
Shawn Lin
4bfbb8782a [Biometric Onboarding & Edu] Support check enrolled fingerprint
- Add a new PreferenceItem for check enrolled fingerprint
- Create a new DialogFragment for the check enrolled
  fingerprint with functions:
  - request an authentication to FingerprintManager
  - highlight the item when a authentication successes
  - show error text when authentication fails
  - close the authentication

Bug: 370940762
Test: atest FingerprintSettingsFragmentTest
Flag: com.android.settings.flags.biometrics_onboarding_education

Change-Id: I90637e4ec20ea46e6f530ffd7ba79df9c31eda6b
2024-12-30 10:20:23 +00:00
Yuchen Sun
382ae17a76 Merge "[Expressive design] Update MainSwitchPreference padding in SettingsActivity." into main 2024-12-30 01:26:02 -08:00
Haijie Hong
cc28aba208 Add content description for battery charging status icon
BUG: 372622360
Test: atest AdvancedBluetoothDetailsHeaderControllerTest
Flag: EXEMPT minor fix
Change-Id: I23a889e1576c0625cefb91386987df8826c1935f
2024-12-30 16:09:48 +08:00
Daniel Huang
8143a69996 Merge "[Update] Expose the regional preferences pages" into main 2024-12-29 23:41:58 -08:00
Edgar Wang
2184688d88 Merge "Relocate Speech entry point" into main 2024-12-29 23:38:31 -08:00
Edgar Wang
fced1ff1e6 Merge "Fix talkback speech for storage size unit 'byte'" into main 2024-12-29 23:36:34 -08:00
SongFerng Wang
9259bb9b43 [automerger skipped] Merge "Encounter unknown error in test" into main am: 45d7ae68e4 am: ddd033762b -s ours
am skip reason: Merged-In I76bfc4c1cabaf569d74309e9e9ad6612f5649d9b with SHA-1 dd7e4d27ae is already in history

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

Change-Id: I0b5149462da461c5473fbfc2665d94dd9e2f3f2d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-29 19:49:57 -08:00
danielwbhuang
4e1bf7db92 [Update] Expose the regional preferences pages
1. Link ACTION_MEASUREMENT_SYSTEM_SETTINGS to MeasurementSystemItemFragment
2. Link ACTION_NUMBERING_SYSTEM_SETTINGS to NumberingPreferencesFragment
3. Link ACTION_REGION_SETTINGS to RegionPickerFragment
4. Deprecate NumberingPreferencesFragment

Bug: 381038747
Flag: android.provider.system_regional_preferences_api_enabled
Test: use test app to try intent ACTION, atest
Change-Id: Id76e589ce25ae5dfc3443948300c6c21ab30672c
2024-12-30 11:29:19 +08:00
SongFerng Wang
ddd033762b Merge "Encounter unknown error in test" into main am: 45d7ae68e4
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3434137

Change-Id: I0850e5911b50a00f0c6e3f52cb09f34912229b6c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-29 19:25:21 -08:00
SongFerng Wang
45d7ae68e4 Merge "Encounter unknown error in test" into main 2024-12-29 18:58:12 -08:00
Yuchen
3cef2a0f96 [Expressive design] Update MainSwitchPreference padding in SettingsActivity.
Update padding programmatically to avoid regression in b/385850462.

Bug: 349681531
Flag: EXEMPT migration
Test: visual
Change-Id: I916dd6e9a41f410ab7d71252944fbf831cd96198
2024-12-30 02:51:53 +00:00
SongFerng Wang
14f0d7e7d0 Encounter unknown error in test
When atest on aosp_cf_x86_64_only_phone-trunk_staging-userdebug,
it said the "java.lang.NoSuchMethodError: No static method getCurrentCarrierNameForDisplay(Landroid/content/Context;)Ljava/lang/CharSequence; in class Lcom/android/settings/network/telephony/MobileNetworkUtils;"

Bug: 370884447
Bug: 370425683
Test: atest MobileNetworkUtilsTest
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:dd7e4d27aed0b456ab0254ff821ff568fe335f61)
Merged-In: I76bfc4c1cabaf569d74309e9e9ad6612f5649d9b
Change-Id: I76bfc4c1cabaf569d74309e9e9ad6612f5649d9b
2024-12-29 18:44:18 -08:00
Garvita Jain
76f31297ea Fix talkback speech for storage size unit 'byte'
Formatter#formatBytes returns file size in units B/KB/MB/GB.
Talkback cannot handle unit size B. Use TtsSpan to return a CharSequence
for Talkback to announce this correctly in the Storage Settings page.

BUG: 317747133
Test: manual - open Storage settings page with Talkback feature on
Flag: EXEMPT bugfix
Change-Id: I65d0abb5a9ea358c116f84a85f0e42187998fd17
2024-12-30 02:41:43 +00:00
Treehugger Robot
12df61328a Merge "[Catalyst] Implement get{Read,Write}Permissions for Use Battery Saver" into main 2024-12-29 16:49:23 -08:00
Treehugger Robot
585d034210 Merge "[Catalyst] Implement get{Read,Write}Permissions for Wifi hotspot" into main 2024-12-29 15:32:44 -08:00
Weng Su
63215582d5 [Catalyst] Add back Airplane toggle metrics
- The original Airplane toggle metrics is recorded by AirplaneEnabler. Since the design of Catalyst removes AirplaneEnabler, the metrics needs to be added to Catalyst preference.

NO_IFTTT=Catalyst only

Bug: 386330825
Flag: EXEMPT bugfix
Test: Manual testing
atest -c AirplaneModePreferenceTest

Change-Id: I61f9fc5d623e7d497d13ddf7bc37990ce0fa223e
2024-12-30 02:54:28 +08:00
Angela Wang
64624ae43f Merge "Update Flash Notifications screen with expressive design" into main 2024-12-28 17:35:28 -08:00
Angela Wang
b5ec99bf35 Merge "Update ShortcutPreference with expressive design" into main 2024-12-28 17:34:49 -08:00
Treehugger Robot
7c861dc669 Merge "Hide Linux terminal if VM isn't supported" into main am: c8e78dc149 am: bf33cb8c33
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3428339

Change-Id: Ica0388cb13627e2920ab2876ab38c2c070396919
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-28 08:18:17 -08:00
Treehugger Robot
bf33cb8c33 Merge "Hide Linux terminal if VM isn't supported" into main am: c8e78dc149
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3428339

Change-Id: Ia01961126082fbbce594715ae90e02181e49183a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-28 07:42:04 -08:00
Treehugger Robot
c8e78dc149 Merge "Hide Linux terminal if VM isn't supported" into main 2024-12-28 07:11:08 -08:00
Yining Liu
fb200f0d7b Notification on lockscreen settings: adapt text view for large font
Notification on lockscreen settings: adapt text view for large font and
long text languages.

Bug: 367455695
Flag: com.android.server.notification.notification_lock_screen_settings
Test: manual
Change-Id: I1dffab01433eff5e6af86c46b5d20340df6912db
2024-12-27 23:00:07 +00:00