Commit Graph

31664 Commits

Author SHA1 Message Date
Xin Li
521a712349 Merge ab/AP4A.240925.013 into aosp-main-future
Bug: 370570306
Merged-In: I4e2a72a80f68579d60466e859370b6fd93a8cd23
Change-Id: Ifc87474ccff4172524295035e70916216b41a715
2024-11-21 15:10:02 -08:00
Treehugger Robot
a320592887 Merge "Add android:key to device info PreferenceCategories" into main am: fb6902d872
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3330454

Change-Id: I2ff9911ca626b0144ad18721122cb5cbeb26f84c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-14 04:19:25 +00:00
Lars Svensson
3eb06a9077 Add android:key to device info PreferenceCategories
Add group key to PreferenceCategory "Legal & regulatory",
and "Device identifiers" making injection of preferences in
this section possible.

Change-Id: Ic178f402fb993cbd4be7c3f0713496acf2a6938a
2024-11-13 13:20:38 +01:00
Xin Li
cfa19e11a6 Merge 24Q4 (ab/12406339) into aosp-main-future
Bug: 370570306
Merged-In: Ie90e7495dd4a134538bae6e3e08eea0d02134b14
Change-Id: I20517e9ee410e95f2cbeb1247c0c0288ed9f006f
2024-11-11 21:38:40 -08:00
Jaewan Kim
ea0b5d5950 Clear Linux terminal app when disabled
Bug: 374032310
Test: Manual, T/H
Flag: Build.RELEASE_AVF_SUPPORT_CUSTOM_VM_WITH_PARAVIRTUALIZED_DEVICES
Change-Id: Id56f98cf90b0598111baa3096b1b81307ebb99a3
2024-11-12 01:19:17 +00:00
Jaewan Kim
ed3abffcfc Make Linux terminal option profile aware
Bug: 374034911
Test: atest, plus following manual test \
  - Test tabbed UI with/without work profile \
  - Test that disabled by work profile launches alert dialog \
  - Test whether toggling an app only toggle the app for the user.
Flag: Build.RELEASE_AVF_SUPPORT_CUSTOM_VM_WITH_PARAVIRTUALIZED_DEVICES
Change-Id: I4bf0a2d521cf3e632f6c0320e0b5cc0154d5b68f
2024-11-11 14:31:19 +09:00
Jaewan Kim
fcc6b6ce7c Merge "Enable Linux terminal app via developer settings" into main 2024-10-16 23:23:29 +00:00
Jaewan Kim
591d4fd932 Enable Linux terminal app via developer settings
Bug: 369246712
Test: `atest SettingsRoboTests`, try toggle the option, \
  and try search with 'Linux'.
Flag: RELEASE_AVF_SUPPORT_CUSTOM_VM_WITH_PARAVIRTUALIZED_DEVICES
Change-Id: Ibdcf00de04f09fe5b03ba53857904945354ed844
2024-10-16 15:49:12 +00:00
Robin Vinterbladh
dc419524c5 Add MaterialComponents.DayNight to SearchBarStyle
When opening the Settings app or changing colors in ThemePicker
there are tons of warnings with UnsupportedOperationException in
the log. These logs are related to the
LayoutInflater attempting to inflate a MaterialCardView and
TypedArray#getColor where it expects the colors to be either an integer
color or a color state list. This happens every time you re-start
Settings.

To enable layout inflater finding colors for Settings we add a
MaterialComponents theme to SearchBarStyle, this makes sure that
TypedArray#getColor gets an integer color instead of relying on
framework to solve this.

Flag: NA
Bug: 363970601
Test: manual, open Settings and check the logs
Change-Id: I728c1537537bb4d32af6006800de93e64facfa8e
2024-10-16 01:05:12 +00:00
Bill Yi
8017f44db4 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import

Bug: 369418613
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:66df8ff3274c27a8a913440d9b97593b7eb9b802)
Merged-In: I499fad471e481b1048377ed78817e73044909593
Change-Id: I499fad471e481b1048377ed78817e73044909593
2024-10-04 22:51:49 +00:00
Bill Yi
3c4b5e80c0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import

Bug: 369418613
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:d699a865846e7bd329f150e68b15b1e24108ae49)
Merged-In: I5c23ee62acecedef00383545188882d1694d8a8a
Change-Id: I5c23ee62acecedef00383545188882d1694d8a8a
2024-10-04 22:51:37 +00:00
Maryam Dehaini
6a6a3efe57 Merge "Change "Open by default" setting page selection to radio buttons" into main 2024-09-23 22:45:07 +00:00
Maryam Dehaini
11825b0bc7 Change "Open by default" setting page selection to radio buttons
Selection to open page in app or browser needs to be displayed via radio
buttons as discussed here: http://b/346622495#comment14

Bug: 359262490
Test: Open links in app and browser
Flag: EXEMPT small UI change
Change-Id: Ib23084bcc7f899b97b59019775584807e5b70d7e
2024-09-23 14:32:08 -07:00
Yiyi Shen
322e153350 Rename AudioSharingLoadingStateDialogFragment and layout
Test: atest
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Bug: 362858894
Change-Id: I05e29b248541511daca355f1bbe4a13b17b4d20d
2024-09-23 15:46:27 +08:00
Arun Voddu
2f554f2655 Merge "Changed the token from 'Add satellite messaging' to 'Learn More'." into main 2024-09-23 03:27:46 +00:00
arunvoddu
a604a6cee8 Changed the token from 'Add satellite messaging' to 'Learn More'.
Flag: EXEMPT bugfix
Bug: 367377460
Test: Verified the UI Manually
Change-Id: Ieba6dc32dbedaea98fe39a8bb081f3562d8eeb6e
2024-09-22 15:57:47 +00:00
Treehugger Robot
a0e1262ecd Merge "Move identity check strings to framework" into main 2024-09-20 18:12:48 +00:00
Pat Manning
6ce743bc1f Merge "Add keywords to Pointer Scale previously associated with Large Pointer." into main 2024-09-20 13:48:37 +00:00
Allen Su
f5f9e9e3d2 Merge "[ToA] Remove ToA languages" into main 2024-09-20 09:45:23 +00:00
Allen Su
1da7265d68 [ToA] Remove ToA languages
Remove language in 24Q4 ROM to prevent leak

Flag: EXEMPT resource only update
Test: atest GtsSettingsTestCases:com.google.android.settings.gts.TermsOfAddressTest
      atest TermsOfAddressCategoryControllerTest
Change-Id: Ie019cf1a8462b72f6adf6ae9a35e0ecb420c2af1
2024-09-20 09:18:23 +00:00
Yiyi Shen
e30a71635f Merge "[Audiosharing] Add strings for loading state and error handling" into main 2024-09-20 06:03:44 +00:00
Edgar Wang
3f2d009c66 Merge "Refactor layout of ProcessStatsPreference" into main 2024-09-20 05:51:54 +00:00
Bill Yi
b27164cffe Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-09-20 03:31:42 +00:00
Bill Yi
557d81384b Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-09-20 03:31:42 +00:00
Diya Bera
a60540afcc Move identity check strings to framework
Flag: android.hardware.biometrics.flag.mandatory_biometrics
Bug: 358641110
Bug: 358179610
Test: Manual

Change-Id: I8f9cc16a0ffc43655534663203ff4da6380fbc97
2024-09-20 00:40:43 +00:00
Treehugger Robot
6c584d7f42 Merge "Shorten the dark theme effect description in Modes Settings" into main 2024-09-19 17:14:27 +00:00
Matías Hernández
c6739e4914 Shorten the dark theme effect description in Modes Settings
Fixes: 367214085
Test: N/A
Flag: android.app.modes_ui
Change-Id: I598aab9a98e44cb78a8e486df135a55da4d8e8fc
2024-09-19 14:23:10 +02:00
Haijie Hong
57b66a716f Merge "Fix spatial audio toggle string" into main 2024-09-19 09:22:12 +00:00
Chaohui Wang
275fbccd47 Merge "Create MobileNetworkSummaryRepository" into main 2024-09-19 07:51:18 +00:00
Arun Voddu
f2335dc8f9 Merge "Fixed satellite icon tint color in Satellite Messaging screen" into main 2024-09-19 04:48:19 +00:00
Bill Yi
952d40cc63 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9d7b5fb779808c73f15b3447f4519e9c40e76fff
2024-09-18 15:41:06 -07:00
Bill Yi
11d8ccc006 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6e4c893ff2575a57470d644facf5e883f5875940
2024-09-18 15:39:17 -07:00
Pat Manning
1142e899ad Add keywords to Pointer Scale previously associated with Large Pointer.
This will allow users to find the new Pointer Scale setting, even if
they are searching for the now removed Large Mouse Pointer.

Fix: 366376119
Test: Manual. Search in Settings for "Large" etc.
Flag: android.view.flags.enable_vector_cursor_a11y_settings
Change-Id: Ie6d02664d5c03196a89c76e8d0a493d5f05c107d
2024-09-18 12:15:43 +00:00
Yiyi Shen
301a898b72 Merge "Fix text alignment in RTL mode for volume sliders" into main 2024-09-18 09:47:15 +00:00
Sparik Hayrapetyan
37c371b1bb Change the message for sequential characters in a password
Change the error message for sequential characters in the password when
the password quality requirement is NUMERIC_COMPLEX or higher. The error
message stays the same in case of PIN.

Screenshots from local testing:
- http://screen/po62FX6aGKoRCU7
- http://screen/BXU6mcJEHMoU4TR
- http://screen/BhCzSDdY83WCQeH

Bug: 299044500
Test: Tested locally, see screenshots
Flag: EXEMPT simple change to an error message

Change-Id: I2e96fef6b5f9a11013fbaa8e231bddc7fa45867f
2024-09-18 11:30:13 +02:00
arunvoddu
87bb5a7a62 Fixed satellite icon tint color in Satellite Messaging screen
Flag: EXEMPT bugfix
Bug: 363271994
Test: Verified Manually
Change-Id: I4d950afcb89873ae7255601a4a6f35182f1599c1
2024-09-18 06:39:04 +00:00
Treehugger Robot
662f5a6a9a Merge "Fixed the typo error in token" into main 2024-09-18 05:19:11 +00:00
Chaohui Wang
777a179bd6 Create MobileNetworkSummaryRepository
For MobileNetworkSummaryController to use, so it no longer use
MobileNetworkRepository.

Fix: 366097262
Flag: EXEMPT refactor
Test: manual - on Network & internet
Test: atest MobileNetworkSummaryRepositoryTest
Change-Id: I8a9d52af8e230fc407a4339c27f73ef79d512b24
2024-09-18 13:07:50 +08:00
arunvoddu
4d3215580d Fixed the typo error in token
Flag: EXEMPT bugfix
Bug: 363271693
Test: Built successfully
Change-Id: I0bd1853529c11feb054d9746d8663139a3a30f61
2024-09-18 03:36:31 +00:00
Diya Bera
baa6254207 Merge "(2/N) Biometric error dialog" into main 2024-09-17 23:58:50 +00:00
Diya Bera
8444136cd3 Merge "(1/N) Biometric error dialog" into main 2024-09-17 23:57:50 +00:00
Yuri Lin
4dcd12f02c Merge "Right-align "end time" text on the schedule setter" into main 2024-09-17 21:24:57 +00:00
Diya Bera
1c604f29ef (2/N) Biometric error dialog
Add an error dialog to help user recover from biometric error for
for identity check while trying to factory reset

Flag: android.hardware.biometrics.flag.mandatory_biometrics
Bug: 358641110
Bug: 358179610
Test: atest MainClearTest
Change-Id: Ia20389a3146aa45ad42bdc4d31f1bd9488f2dc42
2024-09-17 20:21:48 +00:00
Yuri Lin
300d3d14c3 Right-align "end time" text on the schedule setter
When the "end time" text label is wider than the actual time, then aligning it with the start of the time causes it to wrap, even when there's plenty more space on the screen. This change right-aligns it in all cases (even when it's shorter), as it's hard to get all three of "right-aligned when too long", "left-aligned to the time display when short enough", and "wraps when it hits the center line instead of overflowing".

Fixes: 367054151
Test: manual, in English & Danish
Flag: android.app.modes_ui
Change-Id: I106864d6fb09aeac5fcc8d22e8d3d67b1b31ce4e
2024-09-17 15:46:59 -04:00
Pat Manning
591d568d00 Merge "Style changes for Pointer fill color settings." into main 2024-09-17 17:12:27 +00:00
Diya Bera
5335e26b29 (1/N) Biometric error dialog
Add an error dialog to help user recover from biometric error for
identity check feature

Flags: android.hardware.biometrics.flag.mandatory_biometrics
Fixes: 358641110
Fixes: 358179610
Test: atest DevelopmentSettingsDashboardFragmentTest

Change-Id: I6099bc57672b945fa4fa4de98be35bd097403b22
2024-09-17 14:45:51 +00:00
Bill Yi
636e90be58 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-09-16 19:03:34 +00:00
Pat Manning
4a552541aa Style changes for Pointer fill color settings.
Fix: 362455374
Test: Manual. Visual Changes only.
Flag: android.view.flags.enable_vector_cursor_a11y_settings
Change-Id: Id7a9d7eef540ea33f6bb47451b3d5c25328f9707
2024-09-16 14:01:55 +00:00
Yiyi Shen
e1faf0c8a9 Fix text alignment in RTL mode for volume sliders
The volume bars with layout preference_volume_slider won't align title text right in RTL mode (Force RTL layout direction is Developer options),
e.g. Sound & vibration page, Audio sharing page.

Test: manual
Bug: 359514080
Flag: EXEMPT minor layout change
Change-Id: I43daa46438e3fa0a879d831a97d05b31c7dcb52f
2024-09-14 08:16:48 +00:00
Yiyi Shen
7006151729 [Audiosharing] Add strings for loading state and error handling
Test: atest
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Bug: 362858921
Bug: 362858894
Change-Id: I9a10b1954e5d0924cf0799db01842fff4be73ed0
2024-09-14 14:00:32 +08:00