Commit Graph

146546 Commits

Author SHA1 Message Date
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
Shraddha Basantwani
27315b3b92 [SPA] Add biometric authentication for package modification
Add an extra step of Lock Screen for disabling, force-stopping or
uninstalling updates for protected packages

Bug: 352504490, 344865740
Test: atest AppButtonsPreferenceControllerTest PackageInfoPresenterTest
Flag: EXEMPT High Security Bug
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:32e388ad3199de3c062bb2e2db5d3239f934d0eb)
Merged-In: I0c494e307b02229d751de118abcc89e4e61a6861
Change-Id: I0c494e307b02229d751de118abcc89e4e61a6861
2025-02-05 00:12:40 -08:00
shaoweishen
0afe4b3e90 [Physical Keyboard] Correct key string for mouse key
Bug:381247635
Flag: com.android.settings.keyboard.keyboard_and_touchpad_a11y_new_page_enabled
Test: atest
packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/

Change-Id: I3ebeee285d33d3e25082a523da2d1d188f3b36bc
2025-02-05 06:50:49 +00:00
SongFerng Wang
01ba868b1e Add the missed call of super.onCreateView()
Bug: 393662651
Change-Id: I7f16fa45f3e32c6e1e78745248258b46836b7cbc
Test: build pass
Flag: EXEMPT bugfix
2025-02-04 22:22:23 -08:00
Sunny Shao
d533c3e568 [Catalyst] Remove the INTERACT_ACROSS_PROFILES for Mobile data
NO_IFTTT=Catalyst only

Bug: 385282727
Flag: com.android.settings.flags.catalyst_mobile_network_list
Test: devtool
Change-Id: Ic664f6e8974eceaf74c8741d6122a2d0e3e679c9
2025-02-05 05:58:39 +00:00
yqian
4dfe488d8b [Cleanup] remove flag enable_bonded_bluetooth_device_searchable
the feature is enabled in prod already

Test: atest ConnectedDeviceGroupControllerTest
Bug: N/A
Change-Id: I7b2674bd42ed0a3bbe03c74ff52c3ccd830178dc
Flag: EXEMPT just cleanup
2025-02-04 21:35:12 -08:00
Treehugger Robot
1436ea1351 [automerger skipped] Merge "[SPA] Add biometric authentication for package modification" into udc-qpr-dev am: 06151a58c6 -s ours
am skip reason: Merged-In I0c494e307b02229d751de118abcc89e4e61a6861 with SHA-1 32e388ad31 is already in history

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

Change-Id: Ic4072860f67d5955f46148caa16906d90804e95e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-04 21:20:11 -08:00
Shraddha Basantwani
7f653bb7a6 [automerger skipped] [SPA] Add biometric authentication for package modification am: 891d4be094 -s ours
am skip reason: Merged-In I0c494e307b02229d751de118abcc89e4e61a6861 with SHA-1 32e388ad31 is already in history

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

Change-Id: Ifda0762938a656966bfaa76d8e7f1fda2d0b4f04
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-04 21:20:03 -08:00
Treehugger Robot
06151a58c6 Merge "[SPA] Add biometric authentication for package modification" into udc-qpr-dev 2025-02-04 20:46:20 -08:00
Hakjun Choi
be6525024d Merge "Clean up aconfig flag oem_enabled_satellite_flag" into main 2025-02-04 19:31:29 -08:00
Shaowei Shen
fd57eb5bb3 Merge "[Physical Keybaord] Fix Mouse key image truncate" into main 2025-02-04 19:17:34 -08:00