Commit Graph

146557 Commits

Author SHA1 Message Date
Shaowei Shen
086c8b7955 Merge "[Physical Keyboard] Move Dialog to DialogFragment" into main 2025-02-06 02:20:41 -08:00
Jacky Wang
68bb5a04c9 [Catalyst] Enforce WRITE_SYSTEM_PREFERENCES permission
Bug: 374115149
Bug: 394744563
Flag: com.android.settingslib.flags.settings_catalyst
Test: manual
Change-Id: I63b84aea001033e81b1d811a2de983d8d107015c
2025-02-06 18:03:58 +08:00
Yuri Ufimtsev
ec78150e69 Merge "Allow the LockPatterUtils to be null" into main 2025-02-06 01:37:56 -08:00
Shaowei Shen
259cc0f30d Merge "[Physical Keyboard] Correct key string for mouse key" into main 2025-02-06 01:33:54 -08:00
Edgar Wang
c2776b9945 Merge "Update background color of Settings search" into main 2025-02-06 01:30:18 -08:00
Treehugger Robot
91fcb2c8ab [automerger skipped] Merge "Fix crash due to over limited length." into main am: 646fa2d5fa am: 17d0097a46 -s ours
am skip reason: Merged-In I5c72c3c9ca9cb2e4058959abc5a0b4fdd60907bf with SHA-1 a66f9dc362 is already in history

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

Change-Id: I5fae2b57f0f0b9611b406e74ad12dd706981e371
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-06 01:20:28 -08:00
YK Hung
436cce3aaf Merge "[Expressive Battery] Update screen on time text preference style." into main 2025-02-06 01:07:40 -08:00
Treehugger Robot
17d0097a46 Merge "Fix crash due to over limited length." into main am: 646fa2d5fa
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3478846

Change-Id: I25eafcb494be249eafda49e64e682dc3fbe77866
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-06 00:56:44 -08:00
Aleksander Morgado
1b6ffcbecb Avoid explicit reference to 'mobile' in tethering_footer_info
The Hotspot & Tethering feature allows sharing the current primary
data connection of the device with others using either a Wi-Fi hotspot
or USB/Bluetooth/Ethernet tethering.

The primary data connection is typically a mobile data connection on a
phone, but that is not the case on other form factors, e.g. in the
desktop experience, where sharing your Ethernet connection via Wi-Fi
(i.e. Ethernet is the 'upstream' technology instead of
cellular/mobile) may be a much more common usecase.

Given that devices can support Hotspot & Tethering without supporting
Telephony, there should be no explicit reference to a "mobile data
connection", as it is not accurate.

Bug: 393312760
Test: Manual check
Flag: EXEMPT strings only change

Change-Id: If71134deca4610a2304630f331e3a4fe62f0bc63
2025-02-06 08:43:16 +00:00
Treehugger Robot
646fa2d5fa Merge "Fix crash due to over limited length." into main 2025-02-06 00:31:51 -08:00
Treehugger Robot
fb4be96958 Merge "Support disable extend Fingerprint Settings" into main 2025-02-06 00:07:50 -08:00
mxyyiyi
45ac3f280d [Expressive Battery] Update screen on time text preference style.
For expressive style:
- Update the enlarge font size
- Remove the background

Bug: 349652542
Test: visual
Flag: com.android.settingslib.widget.theme.flags.is_expressive_design_enabled
Change-Id: If85d2903eec6d1f7c3b58e71daef2409325ac83d
2025-02-06 16:00:10 +08:00
tom hsu
d9b78ebc97 Fix crash due to over limited length.
Flag: EXEMPT bug fix
Fix: b/388404115
Test: Manual test
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:a66f9dc3629586c3543952566f05f1b720dfa50c)
Merged-In: I5c72c3c9ca9cb2e4058959abc5a0b4fdd60907bf
Change-Id: I5c72c3c9ca9cb2e4058959abc5a0b4fdd60907bf
2025-02-05 23:55:33 -08:00
mxyyiyi
c03e7ee9d6 Use BatteryOptimizeUtils to add packageName into PowerSaveWhitelistUserApps allowlist, which will force set app into Unrestricted Mode
Fix: 372831500
Fix: 393033745
Test: test manually by app "Baidu Cloud"> auto-backup settings > add into battery allowlist.
Test: atest RequestIgnoreBatteryOptimizationsTest
Flag: EXEMPT for simple fix
Change-Id: Ia0b232389b1c11b48724af750721e6af4313deaf
2025-02-06 15:49:28 +08:00
SongFerng Wang
f9dc6c821f Merge "Add the missed call of super.onCreateView()" into main 2025-02-05 23:30:06 -08:00
Treehugger Robot
b8958a73b5 Merge "Remove rolled out flag automatic_bt_device_type" into main 2025-02-05 23:25:39 -08:00
Chelsea Hao
88548e94cb Merge "Update audio sharing dialog text." into main 2025-02-05 23:18:14 -08:00
Treehugger Robot
60dd62bbc1 Merge "Fix crash due to over limited length." into main 2025-02-05 23:09:41 -08:00
MiltonWu
650f865def Support disable extend Fingerprint Settings
1. Disable extend fingerprint settings when all fingerprints removed
2. Refine FingerprintUnlockCategoryController logic to better determine
   available status

Bug: 394550555
Flag: EXEMPT support interface, flag only used in impl part
Test: atest FingerprintSettingsFragmentTest
Change-Id: I8904e5f6d8f475ad63540eaef913407d7c0cf4ad
2025-02-06 14:22:06 +08:00
Treehugger Robot
6fc41de03c Merge "[Catalyst] Update the permissions" into main 2025-02-05 22:15:38 -08:00
chelseahao
e7ccbf436e Update audio sharing dialog text.
Also add a radius to the qr code image.

Test: atest
Bug: 381775542
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: I6b06b02f63bc46ec20b7a9e0aa236f2547a5f612
2025-02-05 22:08:59 -08:00
Ronald Braunstein
72a5fdd400 Merge "[owners] Remove aroederer@google.com from src/com/android/settings/notification/OWNERS" into main am: 85107f0fb4 am: f4b70bd0a1
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3465863

Change-Id: I890fae6722c688a43aaac3bf2edd012ee9e70d60
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-05 21:38:35 -08:00
Sunny Shao
4f2e409a3e [Catalyst] Update the permissions
NO_IFTTT=Catalyst only

Bug: 392691854
Bug: 392691083
Test: devtool
Flag: EXEMPT bugfix
Change-Id: Id7809ab699745fff4ef040d4a7141498a58e04e8
2025-02-06 05:20:47 +00:00
Ronald Braunstein
f4b70bd0a1 Merge "[owners] Remove aroederer@google.com from src/com/android/settings/notification/OWNERS" into main am: 85107f0fb4
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3465863

Change-Id: I0b8ffa269b54a4615ca2586659466f10403be651
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-05 21:02:24 -08:00
Ronald Braunstein
85107f0fb4 Merge "[owners] Remove aroederer@google.com from src/com/android/settings/notification/OWNERS" into main 2025-02-05 20:36:32 -08:00
Shawn Lin
b15c923f45 Merge "[Biometric Onboarding & Edu] Update fingerprint settings page" into main 2025-02-05 19:43:32 -08:00
Chelsea Hao
c1ac5c11a9 Merge "Show "Stream paused" when hysteresis mode in UMO." into main 2025-02-05 18:50:40 -08:00
tom hsu
a66f9dc362 Fix crash due to over limited length.
Flag: EXEMPT bug fix
Bug: b/388404115
Test: Manual test
Change-Id: I5c72c3c9ca9cb2e4058959abc5a0b4fdd60907bf
2025-02-05 18:17:41 -08:00
Liefu Liu
069f926bba Update the sub title of SIM preference in Contacts Storage Setting, to
be consistent with "Device-only" preference.

Bug:  394335832
Test: atest ContactsStorageSettingsTest and manually test
Flag: EXEMPTED (minor fix)

	modified:   src/com/android/settings/applications/contacts/ContactsStorageSettings.java
	modified:   tests/robotests/src/com/android/settings/applications/contacts/ContactsStorageSettingsTest.java

Change-Id: Ibf52d237da468d951211e9afa323d61fa72a1206
2025-02-05 17:23:41 -08:00
Vlad Popa
b136fcfe18 Remove rolled out flag automatic_bt_device_type
This flag has been rolled out in 24Q3 and can be removed.

Test: atest BluetoothDetailsAudioDeviceTypeControllerTest
Bug: 302323921
Flag: EXEMPT removing com.android.media.automatic_bt_device_type
Change-Id: I9997ef60f195b36298c36078eadf6c0a82bc662d
2025-02-05 16:04:50 -08:00
Liefu Liu
ce463e4142 Merge "Updated the Contacts Storage Settings' bottom line text." into main 2025-02-05 15:06:42 -08:00
Treehugger Robot
c47c644696 Merge "[Catalyst] Remove the INTERACT_ACROSS_PROFILES for Mobile data" into main 2025-02-05 12:46:00 -08:00
Vitor Carvalho
4f4e2da16b Merge "Fix tests in Settings that break with the changes in ParentalControlsUtils introduced in ag/31121556." into main 2025-02-05 10:36:07 -08:00
Junchen Quan
74aefe07d3 Merge "Add PIN recovery entry in supervision PIN management page." into main 2025-02-05 10:07:45 -08:00
Bill Yi
5d263c7481 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-02-05 10:05:36 -08:00
Treehugger Robot
da53986a15 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-02-05 09:49:20 -08:00
Treehugger Robot
cedaf609d3 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-02-05 09:49:20 -08:00
Liefu Liu
b197bfe8f2 Updated the Contacts Storage Settings' bottom line text.
Bug: 394335832
Test: unit test and manual test
Flag: EXEMPTED

	modified:   res/values/strings.xml
	modified:   tests/robotests/src/com/android/settings/applications/contacts/ContactsStorageSettingsTest.java

Change-Id: Ibde23352a6c64ff7ea546e2fd5ef9468398829f7
2025-02-05 08:49:17 -08:00
Angela Wang
11debff2be Hide ambient control when there's no valid control point
The preference will be accidentally shown if the device support HAP and
VCP. Make sure to hide the preference when the device doesn't have any
valid ambient control points.

Flag: EXEMPT bugfix
Test: manual test with real device
Test: atest BluetoothDetailsAmbientVolumePreferenceControllerTest
Bug: 388156028
Change-Id: I8162ce8e878baff414e4665c97aaf1c21aa51229
2025-02-05 15:55:41 +00:00
Yuri Ufimtsev
55b7b0613d Allow the LockPatterUtils to be null
In some tests it could inconsistently become a null, crashing with NPE, for the reason I can't understand (maybe there is a race condition somewhere between mocking and accessing the LockPatterUtils in such tests)
Let's accept it gracefully

Test: atest SettingsUnitTests
Bug: 382637173
Flag: EXEMPT bugfix
Change-Id: I35d5faa1a29307fc780207a816680a32b2796bc0
2025-02-05 14:38:46 +00:00
Treehugger Robot
e9722accbd Merge "[Catalyst] Add more constants to SettingsContract" into main 2025-02-05 04:06:55 -08:00
Ebru Kurnaz
1d71ed9d3d Merge "Add a preference for display size settings." into main 2025-02-05 03:12:11 -08:00
Jacky Wang
ef3b232523 [Catalyst] Add more constants to SettingsContract
Bug: 388061003
Flag: EXEMPT refactor
Test: N/A
Change-Id: I906b345a56fa87909411ef64c73e2696240388ae
2025-02-05 19:02:41 +08:00
Shawn Lin
d40442c91f Merge "[Biometric Onboarding & Edu] Update face settings page" into main 2025-02-05 02:52:09 -08:00
Vitor Carvalho
a796ca497a Merge "Update EnterprisePrivacyFeatureProviderImpl to obtain the parental controls intent from SupervisionIntentProvider." into main 2025-02-05 02:47:01 -08:00
Shawn Lin
e2051d50e3 [Biometric Onboarding & Edu] Update fingerprint settings page
- Added a feature provider for fingerprint settings page in
  FingerprintFeatureProvider for customization
- When no fingerprint enrolled, disabled the settings buttons instead of
  hiding them.
- Update new UX style for add fingerprint button

Bug: 370940762
Test: manual - 1. Enroll a fingerprint
               2. Go Fingerprint Settings page and remove fingerprint
	       3. Enroll fingerprint again
Test: atest FingerprintSettingsFragmentTest
Flag: com.android.settings.flags.biometrics_onboarding_education

Change-Id: Ibe47bb241c4b20e8e0c5b4a9172aef90bf3727ea
2025-02-05 10:34:28 +00:00
Shraddha Basantwani
43dc7840ef [automerger skipped] Merge "[SPA] Add biometric authentication for package modification" into udc-dev am: 1c5b48c8df am: 760b9fb16d -s ours
am skip reason: Merged-In I0c494e307b02229d751de118abcc89e4e61a6861 with SHA-1 891d4be094 is already in history

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

Change-Id: I04945aafdad73519c25dcb3bdbe61580194890de
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-05 01:56:21 -08:00
Shraddha Basantwani
760b9fb16d Merge "[SPA] Add biometric authentication for package modification" into udc-dev am: 1c5b48c8df
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/30686364

Change-Id: I6b3c68bd4b23f34eb4a7cdc048faf0ad6588a62a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-05 01:55:22 -08:00
Shraddha Basantwani
1c5b48c8df Merge "[SPA] Add biometric authentication for package modification" into udc-dev 2025-02-05 01:49:56 -08:00
Shawn Lin
d747235a4c [Biometric Onboarding & Edu] Update face settings page
- Added a feature provider for face settings page in FaceFeatureProvider
  for customization
- When face is deleted, disabled the settings buttons instead of hiding
  them.
- Updated new UX style for add/remove face button.

Bug: 370940762
Test: atest FaceSettingsEnrollButtonPreferenceControllerTest
            FaceSettingsFooterPreferenceControllerTest
Test: manual - 1. Enroll face
               2. Go Face Settings page and remove face
	       3. Enroll face again
Flag: com.android.settings.flags.biometrics_onboarding_education

Change-Id: I490e647523eeff2dd1a58aab07f638e3e5e0ffb8
2025-02-05 00:57:40 -08:00