Commit Graph

142047 Commits

Author SHA1 Message Date
Bill Yi
42e8f3f44e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I33c17b49df959e7f2a8512574263800076c271f3
2024-07-15 19:18:23 -07:00
Bill Yi
a9d5afd67c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0b2f293b6ff4fea5706246bd42a65e8233ad0a24
2024-07-15 19:17:33 -07:00
Bill Yi
9f0d501ae0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7bb34378cecb16ddb9f073dc8965808fc18f8b03
2024-07-15 19:16:05 -07:00
Bill Yi
c1ca881be1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic36c209805a453537b7de990a9645a1aab79e6d6
2024-07-15 19:14:40 -07:00
yomna
62004763e1 Remove searchability of CellularSecuritySettingsFragment
Test: m & manual
Bug: b/335554085
Flag: EXEMPT bug fix
Change-Id: Ia226b0848d70a307b80060049ec24b9714ee476a
2024-07-16 01:17:25 +00:00
Treehugger Robot
f1cd781ed1 Merge "Move PreferenceControllers to member variables to prevent memory leak" into main 2024-07-15 22:41:43 +00:00
Diya Bera
2348fefd48 Tests - Add mandatory biometric prompt to platform surfaces (1/N)
Tests for ag/27400418

Flag: android.hardware.biometrics.Flags.MANDATORY_BIOMETRICS
Bug: 339910718
Test: atest FingerprintSettingsFragmentTest ChooseLockGenericTest CombinedBiometricProfileSettingsTest

Change-Id: Ief7fca5d0b695d23d490b6302dea11bab6030fce
2024-07-15 22:26:50 +00:00
Chun-Ku Lin
ec61f8bea3 Move PreferenceControllers to member variables to prevent memory leak
- Move PreferenceControllers to xml
- Clean up the PreferenceController so that it's less tied to a fragment
- Update and clean up the related robolectric test, so there are less
  mocks needed

Bug: 352606511
Test: manually check the Color Correction screen is shown correctly, and
choosing color correction options are reflected correctly
Test: atest DaltonizerRadioButtonPreferenceControllerTest
Test: atest ToggleDaltonizerPreferenceFragmentTest
Flag: EXEMPT (moving controller to xml can't be flagged)

Change-Id: I89b9366cfd7a398bb0572d34226d31d49373fd94
2024-07-15 21:34:14 +00:00
Pat Manning
c8c8c53760 Merge "Update Touchpad settings page to include mouse." into main 2024-07-15 10:52:10 +00:00
Treehugger Robot
2db5d1618f Merge "Show less secure warning in Network details settings" into main 2024-07-15 08:00:42 +00:00
Weng Su
05b28d24c3 Show less secure warning in Network details settings
- Show warning when device connected to WEP protocol

Bug: 331973632
Flag: EXEMPT bugfix
Test: Manual testing
atest -c WepLessSecureWarningControllerTest

Change-Id: I54a9bafb2c672db44d47259d6acc49c02046cb81
2024-07-15 14:51:25 +08:00
Chaohui Wang
02849149de Merge "Revert^2 "Support search "Mobile data""" into main 2024-07-15 05:35:40 +00:00
Vincent Wang
8d235a2fc8 Merge "Remove package biometric2 from AOSP settings" into main 2024-07-15 05:00:06 +00:00
Chaohui Wang
cacc9a88b2 Revert^2 "Support search "Mobile data""
This reverts commit 979de75952.

Reason for revert: Failed CarDeveloperOptions tests fixed.

Change-Id: Ic0bdf47ab3cb40dbadebb738c0c5842e4e1bf9c8
2024-07-15 02:03:06 +00:00
Chris Antol
7e1ba1c03a Merge "Support dynamic injected preference icons from raw data" into main 2024-07-12 22:57:50 +00:00
Chris Antol
969fc9639b Support dynamic injected preference icons from raw data
Flag: com.android.settings.flags.support_raw_dynamic_icons
Bug: 351884562
Test: Registered an injected preference in another app locally, providing icon dynamically using new metadata field
Change-Id: I80a5e6804b9beab343c0068753277948a3855865
2024-07-12 22:57:37 +00:00
Ioana Alexandru
457277d6f5 Move TestModeBuilder to SettingsLib
This will allow us to use it from both settings and systemui.

Bug: 346519570
Test: builds
Flag: TEST_ONLY
Change-Id: I3b5ea50458f28d55db275cbd9de93f55f522d5c7
2024-07-12 18:19:15 +02:00
chihtinglo
b24288e0c7 feat(EvenDimmer): refactor the initialization process
Moving the initialization for SettingsContentObserver from the
constructor to onCreate.

Bug: 349458355
Test: atest AccessibilitySettingsTest
Flag: EXEMPT refactor
Change-Id: I5ab2eda96b39eb4cb0b57efd55b3df244a72ed5e
2024-07-12 20:46:33 +08:00
Pechetty Sravani
dc5469cf24 Merge "Revert "Support search "Mobile data""" into main 2024-07-12 09:34:44 +00:00
Kai Zhou
d99198f4ff Merge "Wifi Sharing page uses a new enum for telemetry." into main 2024-07-12 07:55:51 +00:00
Haijie Hong
d3a67dc480 Merge "Check all member devices to determine whether it's LeAudio-only device" into main 2024-07-12 07:44:43 +00:00
Pechetty Sravani
979de75952 Revert "Support search "Mobile data""
This reverts commit 50d9e342e8.

Reason for revert: Droidmonitor created revert due to b/352668970. Will be verifying through ABTD before submission.

Change-Id: I5e0c48830425c51963b7669b75979cb8b67e770c
2024-07-12 07:40:28 +00:00
Angela Wang
e2c83caee9 Merge "Fix text cropping in pairing dialog" into main 2024-07-12 06:55:48 +00:00
Chaohui Wang
9325291b9f Merge "Support search "Mobile data"" into main 2024-07-12 05:39:09 +00:00
Treehugger Robot
3ba331528c Merge "Clean up SubscriptionInfoEntity unused fields" into main 2024-07-12 05:17:46 +00:00
Haijie Hong
bfcd25edca Check all member devices to determine whether it's LeAudio-only device
Bug: 352431349
Test: atest BluetoothDetailsProfilesControllerTest
Flag: com.android.settings.flags.hide_le_audio_toggle_for_le_audio_only_device
Change-Id: I3697b4f3abf5f789100b63f0b7a01c3b78d70a7f
2024-07-12 13:09:36 +08:00
Chaohui Wang
50d9e342e8 Support search "Mobile data"
- Added SpaSearchRepository to index the SPA search data.
- Added SpaSearchLandingActivity, which can only be called by SI.

Fix: 346776183
Flag: EXEMPT bug fix
Test: manual - search "Mobile data"
Test: unit test
Change-Id: Icaff41fe085edd371fd75bc8101dd52028f90da5
2024-07-12 03:52:03 +00:00
David Lin
bbd5d8885e [automerger skipped] Merge "AiCore reattribute feature" into 24D1-dev am: c7de1ca1ed -s ours
am skip reason: Merged-In Icc9a475a71f189e72bf06f9a0b4c23380a90a603 with SHA-1 29f73d68fe is already in history

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

Change-Id: I3e0c1bcc16c86ae3932d95d994bd49ad35f2d18b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-12 03:11:28 +00:00
YK Hung
290ad1e2ef [automerger skipped] AiCore reattribute feature am: f8b46c01e8 -s ours
am skip reason: Merged-In Icc9a475a71f189e72bf06f9a0b4c23380a90a603 with SHA-1 29f73d68fe is already in history

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

Change-Id: I134ada97ff61665e7523b8b25d74ae30a26199e8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-12 03:11:21 +00:00
David Lin
c7de1ca1ed Merge "AiCore reattribute feature" into 24D1-dev 2024-07-12 02:56:11 +00:00
Treehugger Robot
33549c6dc7 Merge "Add Settings for vector-specific PointerIcon stroke colors." into main 2024-07-12 02:04:21 +00:00
Sal Savage
da2e2c3e4a Clean up BT stack log level preference controller and tests
Problem: These tests were failing because the resource ID used in the
test and its version of the R class resolved to a different integer
(and subsequently a different string array) than the R class used on
device. This was causing different string arrays with different lengths
and values to sometimes appear, especially when the source and tests
were builts separately.

Solution: Manually lookup the resource ID to use by name instead of
using the pre-baked R class and assuming its ID is correct. This allows
us to get the proper ID every time and trust the values in the array.
This trust allows for some clean up on the code and tests, such that now
our tests can iterate on values instead of relying on private constants
being made visible or even hardcoded values.

Flag: EXEMPT, test fix and minor refactor with no behavior change
Bug: 339148064
Test: atest com.android.settings.development.bluetooth.BluetoothStackLogPreferenceControllerTest
Change-Id: I8149bd06ed70589afb3797a9f453eb2a11c3c410
2024-07-11 15:11:06 -07:00
Diya Bera
80bec7adef Update tests for mandatory biometrics
Flag: android.hardware.biometrics.Flag.MANDATORY_BIOMETRICS
Fixes: 352036009
Test: atest MainClearTest CombinedBiometricProfileSettingsTest

Change-Id: If778dcb138b82814621186ddd7f89d77dc4a9b18
2024-07-11 21:16:02 +00:00
Pat Manning
620755c293 Add Settings for vector-specific PointerIcon stroke colors.
Bug: 305193969
Test: PointerIconLoadingTest
Flag: android.view.flags.enable_vector_cursor_a11y_settings
Change-Id: I72213e8806fed451a0edb16d497406ffae5c1a44
2024-07-11 15:40:03 +00:00
Treehugger Robot
c5e168c830 Merge "Remove leftover "all" option from zen mode Apps page" into main 2024-07-11 14:01:53 +00:00
Pat Manning
1257610b0e Update Touchpad settings page to include mouse.
Make each setting conditionally available based on touchpad or mouse
connected to device.

Bug: 269100659
Test: TrackpadBottomPreferenceControllerTest
Test: TrackpadReverseScrollingPreferenceControllerTest
Test: TrackpadTapToClickPreferenceControllerTest
Test: TrackpadSettingsControllerTest
Flag: android.view.flags.enable_vector_cursor_a11y_settings
Change-Id: I601c29e20d69227779481c0a491256e36cfd268f
2024-07-11 13:32:44 +00:00
Joseph Vincent
db223afdd8 Merge "Fix RTL alignment issue in private space education" into main 2024-07-11 12:06:48 +00:00
Chaohui Wang
cd4cf67422 Clean up SubscriptionInfoEntity unused fields
It's safe since MobileNetworkDatabase is in memory only.

Bug: 348118234
Flag: EXEMPT clean up
Test: manual - check Mobile Settings
Change-Id: If170c65f4d0dfdc42c1cec9a56e25c516db4f75e
2024-07-11 04:15:37 +00:00
Kai Zhou
9775bd31f9 Wifi Sharing page uses a new enum for telemetry.
* Previous ID was shared by several pages.
* New ID is only used by this page.

Bug: b/349226088
Settings Intake: b/329012096

Test: atest WifiDppQrCodeGeneratorFragmentTest
Flag: com.android.settings.flags.enable_wifi_sharing_runtime_fragment

Change-Id: I22c8f3a216cf348460a645561be48b23a4bf0e7e
2024-07-11 02:30:12 +00:00
Daniel Norman
034e6db92e Merge "Uses a custom state description for the Audio Balance seek bar." into main 2024-07-11 00:45:37 +00:00
Vincent Wang
e9c4adfaf1 Remove package biometric2 from AOSP settings
Flag: EXEMPT Remove legacy code from AOSP
Bug: 351977012
Test: Build pass
Change-Id: I2285ab8cc2776071c329d7432849aeffc28ed8ee
2024-07-11 00:06:41 +00:00
Matías Hernández
f85290cbbf Remove leftover "all" option from zen mode Apps page
Bug: 308820027
Test: manual
Flag: android.app.modes_ui
Change-Id: I0b29b69a9544223eb8450ad59e528056ad429fbb
2024-07-10 19:30:51 +00:00
Matías Hernández
c56c2e0019 Merge "Add "rename" option to 3-dot menu" into main 2024-07-10 15:35:03 +00:00
Julia Reynolds
6a3a9d379b Merge "Remove unneeded tests" into main 2024-07-10 14:43:07 +00:00
Julia Reynolds
5c6a6f2730 Remove unneeded tests
Test: ZenModePreferenceControllerTest
Flag: EXEMPT bugfix
Bug: 352036009
Change-Id: If2b12756c6984d60a3ccaaf1e9d0772143d6affd
2024-07-10 09:47:18 -04:00
Jason Chang
e37fca665b Merge "Fix the wording order of personal and work are different in the device unlock settings" into main 2024-07-10 10:48:06 +00:00
Matías Hernández
3cd8fc86e1 Add "rename" option to 3-dot menu
(And remove the segmented buttons).

Fixes: 346278854
Test: manual
Flag: android.app.modes_ui
Change-Id: I6d45ba91cc400e5f3f01245c315cc5f0322c3bb1
2024-07-10 00:44:32 +00:00
Treehugger Robot
3e365cdc5f Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-07-09 22:10:16 +00:00
Riley Jones
d902bdbb62 Merge "Refactoring Accessibility settings to use ShortcutConstants.UserShortcutType" into main 2024-07-09 20:59:30 +00:00
Automerger Merge Worker
4b027e6ebf Merge changes from topic "am-04e1c042090b48509e2682b5fa012fbf" into main
* changes:
  [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: 8499f60001 -s ours
  [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: cb46b1dc9c -s ours
  [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: 19edd63f45 -s ours
  [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 86a87925f6 -s ours
  [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: edc6ee27c2 -s ours
2024-07-09 20:09:43 +00:00