Commit Graph

136891 Commits

Author SHA1 Message Date
Bill Yi
582d855820 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ieac96bbd522889663356dd647c7724e2c7466fe3
2023-09-29 07:56:46 -07:00
Treehugger Robot
e2b80dfa22 Merge "Check for NameNotFoundException when querying for PackageInfo" into main 2023-09-29 12:20:01 +00:00
Xin Li
1d8d403b17 [automerger skipped] Merge UP1A.231005.007 am: f0ba9c8b60 -s ours am: 2553e934f6 -s ours am: cd5d2e9321 -s ours am: 55d8d7f121 -s ours
am skip reason: Merged-In I74cde8ebf8214b314a89452e73b834eac7ae8b1e with SHA-1 75987a1856 is already in history

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

Change-Id: I5724424502e9c237930b4ae069b648cfdba6cd7c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-29 10:20:34 +00:00
Valentin Iftime
68916a9bbf Check for NameNotFoundException when querying for PackageInfo
PackageManager.getPackageInfo will throw NameNotFoundException if package was/is being removed.

Test: atest FullScreenIntentPermissionPreferenceControllerTest
Bug: 296163845
Change-Id: I3242ac7e68fa7ed99fe99c7de7cd97aaf87948ee
2023-09-29 11:17:00 +02:00
Xin Li
55d8d7f121 [automerger skipped] Merge UP1A.231005.007 am: f0ba9c8b60 -s ours am: 2553e934f6 -s ours am: cd5d2e9321 -s ours
am skip reason: Merged-In I74cde8ebf8214b314a89452e73b834eac7ae8b1e with SHA-1 75987a1856 is already in history

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

Change-Id: If35dfbddb17eef9536a4e50c3e2744adbaa9a707
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-29 09:04:34 +00:00
Xin Li
cd5d2e9321 [automerger skipped] Merge UP1A.231005.007 am: f0ba9c8b60 -s ours am: 2553e934f6 -s ours
am skip reason: Merged-In I74cde8ebf8214b314a89452e73b834eac7ae8b1e with SHA-1 75987a1856 is already in history

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

Change-Id: I33e25c55139500c30fb69c151f2366f944d31caa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-29 08:16:31 +00:00
Xin Li
2553e934f6 [automerger skipped] Merge UP1A.231005.007 am: f0ba9c8b60 -s ours
am skip reason: Merged-In I74cde8ebf8214b314a89452e73b834eac7ae8b1e with SHA-1 75987a1856 is already in history

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

Change-Id: I35c7d1c5129217358b2e3acbb9033a9ce876a18d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-29 07:15:41 +00:00
YK Hung
a191396363 Merge "Fix anomalyEventId metrices action." into main 2023-09-29 06:31:24 +00:00
Sudheer Shanka
c0c4bc065d Mark quarantine related strings as not translatable.
Bug: 297934650
Test: n/a
Change-Id: I050aa992a71838124b8cc331792d181e523a96ab
2023-09-29 00:19:20 +00:00
Anna Bauza
e43590b092 Merge "Declare GuestTelephonyPreferenceController xml exempt" into main 2023-09-28 22:32:01 +00:00
Sudheer Shanka
8af457e732 Merge "Provide SuspendDialogInfo when quarantining an app." into main 2023-09-28 20:20:46 +00:00
Hao Dong
ae40494ee6 Use shared lib for settings v2.
Test: settingsv2 tests passed
Bug: 302372183

Change-Id: I6d1b20853b26662c538e804b1191bb720f1d7b8f
2023-09-28 19:16:11 +00:00
Anna Bauza
c0c206920b Declare GuestTelephonyPreferenceController xml exempt
The GuestTelephonyPreferenceController is related to conditional toggle appearance. Depends if Telephony is supprted by the device, therefore it is not statically defined in xml.

Also order list alphabetically.

Bug: b/289967472
Test:
1. Remove @Ignore tag from `CodeInspectionTest#runSliceControllerInXmlInspection`
2. atest CodeInspectionTest

Change-Id: I5fb95bdd5ca8cb2a5aa1096f57a425a2efa74cf9
2023-09-28 19:08:49 +00:00
Lifu Tang
04db5e46c5 Update .gitignore list
VSCode project shouldn't be tracked by version control.

Test: none
Change-Id: Ia8a05248347dd8dc2d82724c24c8c01f5108999f
2023-09-28 10:40:22 -07:00
Behnam Heydarshahi
3a130e2baa Merge "Declare RingVolumePreferenceController xml exempt" into main 2023-09-28 17:26:08 +00:00
Zoey Chen
60d3f7b7d2 Merge "[ToA] Terms of Address UI, fragment and the list: - Feminine, Masculine, Neutral, Not Specified" into main 2023-09-28 17:00:49 +00:00
Sudheer Shanka
b5441bf782 Provide SuspendDialogInfo when quarantining an app.
Customize the dialog to include a button to allow
users to take an app out of the quarantine state.

Bug: 297934650
Test: atest tests/robotests/src/com/android/settings/development/quarantine/QuarantinedAppsScreenControllerTest.java
Change-Id: I1b6e9f057fed91ae131602fd6d6ddf5e23958a65
2023-09-28 14:48:15 +00:00
Behnam Heydarshahi
fcd370f094 Declare RingVolumePreferenceController xml exempt
The controller is no longer in use in SoundSettings and should not
affect code inspection.

Bug: b/289967737
Test: 1. Remove @Ignore tag from `CodeInspectionTest#runSliceControllerInXmlInspection`
      2. atest CodeInspectionTest
Change-Id: I07cea3c5e2f5282950a63945181cc4711b937bc5
2023-09-28 13:50:26 +00:00
Eghosa Ewansiha-Vlachavas
136bd906da Fix testGetUserMinAspectRatioEntry for both tablets and foldables
Tabelts and foldables now have different aspect ratio values in their
config, so we need to test the devices separately as we shouldnt test for
values that are not in the config of the device the test is run on.

Fixes: 302155585
Test: atest SettingsUnitTests:UserAspectRatioManagerTest
Change-Id: I78fa3020501a4be992bb90fea16a6fec4f37594b
2023-09-28 13:23:11 +00:00
Eghosa Ewansiha-Vlachavas
5f624b70ba Merge "[1/n] Aspect ratio settings app list refinement" into udc-qpr-dev am: a3108d5b14 am: 2595f32076
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24854937

Change-Id: Iaa9687110887498c26d246dfed086eb1f8d529af
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-28 12:13:01 +00:00
Eghosa Ewansiha-Vlachavas
2595f32076 Merge "[1/n] Aspect ratio settings app list refinement" into udc-qpr-dev am: a3108d5b14
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24854937

Change-Id: I9ed3cf613ae4b20c1465403be0c989a00be425fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-28 11:08:02 +00:00
Eghosa Ewansiha-Vlachavas
a3108d5b14 Merge "[1/n] Aspect ratio settings app list refinement" into udc-qpr-dev 2023-09-28 10:39:35 +00:00
Yiyi Shen
7edfdba9c8 Merge "Fix SettingsRoboTests for connecteddevice." into main 2023-09-28 10:11:12 +00:00
Valentin Iftime
9f82e7381a Settings for Polite Notifications
Adds settings page for polite notifications.

Test: atest PoliteNotificationsPreferenceControllerTest
Test: atest PoliteNotificationFilterControllerTest
Test: atest PoliteNotifVibrateUnlockedToggleControllerTest
Test: atest PoliteNotifWorkProfileToggleControllerTest

Bug: 270456865

Change-Id: I3ec497b068c15205df97bb26ee007beed8da9ee1
2023-09-28 09:42:50 +00:00
mxyyiyi
2385e3a714 Fix anomalyEventId metrices action.
Bug: 302251479
Fix: 302251479
Test: manual
Change-Id: Ia1a17f8c69dfe6673a122aa4f1c662d4617dc78f
2023-09-28 15:47:41 +08:00
Treehugger Robot
747d86fef5 Merge "Fix & ignore some tests" into main 2023-09-28 07:41:13 +00:00
Yiyi Shen
ca8885a549 Fix SettingsRoboTests for connecteddevice.
Bug: 296507968
Test: atest
Change-Id: I5b1e868efeffd0ae185c93623c1daa4a5486e751
2023-09-28 14:49:03 +08:00
Bill Yi
8b5eb0aaeb [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-qpr-dev am: c9c1c444f5 -s ours am: 6cb7bfd9eb -s ours
am skip reason: subject contains skip directive

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

Change-Id: I1b9c78b4818d72b318deb56e33c018208c3d720d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-28 04:02:18 +00:00
Bill Yi
b0ce66279e [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 5d14c079bc -s ours am: 3d522975ff -s ours
am skip reason: subject contains skip directive

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

Change-Id: I0f5ba31bbabe6585e49c69381363a5212d75abca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-28 04:02:07 +00:00
Bill Yi
8ad184aaa1 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 9a21ad3bdd -s ours am: 124f3a7dc7 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Idb63648137e8ec340e474435c1546b7b5507d105
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-28 04:01:47 +00:00
Chaohui Wang
76802413bd Not repeat zxing-core dependency
zxing-core dependency is transitive added by SettingsLib.

Bug: 302420261
Test: manual - try scan QR code in Settings
Change-Id: I06ac9b1852bde22403feee6e1272e73afab353bf
2023-09-28 11:33:15 +08:00
Charlotte Lu
6d95d14ea5 Add SettingsTextFieldPassword enable.
Fix: 298906796
Test: Visual
Change-Id: I89754fc27fe0eec4df029c9ec0ba969b5ea85b59
2023-09-28 11:31:58 +08:00
Chaohui Wang
58871ff999 Merge "Improve the latency of DataUsageList" into main 2023-09-28 03:18:38 +00:00
Bill Yi
6cb7bfd9eb [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-qpr-dev am: c9c1c444f5 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I5e5ae2179aa4d7fd477854e5b17f0e3ed4f1ac3c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-28 03:02:40 +00:00
Bill Yi
3d522975ff [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 5d14c079bc -s ours
am skip reason: subject contains skip directive

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

Change-Id: I6b62d2f479bf8dc8ce652e6d92f981c4ca39c674
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-28 03:02:35 +00:00
Bill Yi
124f3a7dc7 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 9a21ad3bdd -s ours
am skip reason: subject contains skip directive

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

Change-Id: I733310c189b4f89f483db422762be04b4fcf461f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-28 03:02:07 +00:00
Zoey Chen
b501ab183e [ToA] Terms of Address UI, fragment and the list:
- Feminine, Masculine, Neutral, Not Specified

Test: atest TermsOfAddressNotSpecifiedControllerTest, atest
TermsOfAddressNeutralControllerTest, atest
TermsOfAddressMasculineControllerTest, atest TermsOfAddressFeminineControllerTest
Bug: 295826542
Bug: 297798866
Change-Id: I490ace0035c809cac47bae460f558f13875ff18f
2023-09-28 02:23:57 +00:00
Bill Yi
c9c1c444f5 Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-qpr-dev 2023-09-28 02:21:30 +00:00
Treehugger Robot
e9d57e0176 Merge "Fix the link text in footer" into main 2023-09-28 00:31:11 +00:00
Daniel Norman
9eb7ab195d Remove importantForA11y=no from a11y activity launch preference.
Due to how Preferences create a single node for their content, this was
causing that node to lack the ACTION_CLICK action and clickable
attribute.

Removing this attribute properly exposes the click action which means
that TalkBack will now speak "double tap to activate" and Switch Access
will highlight the button while scanning.
See http://recall/-/bznujeSAo20YqWFB1N28dO/gVdpAXoD3BroEkUeJBTUWq

Flag: RESOURCES_ONLY
Bug: 301528206
Test: Open Settings > Accessibility > Sound Notifications;
      Use TalkBack to highlight and speak the "Open Sound Notifications"
      button; observe "double tap to activate".
      Repeat with Switch Access; observe button is highlighted while
      scanning and can be selected.
Change-Id: Ie747e19fe149d015cf92fbe07fd71cfaf183d795
2023-09-27 23:53:58 +00:00
Xin Li
f0ba9c8b60 Merge UP1A.231005.007
Bug: 291102124
Merged-In: I74cde8ebf8214b314a89452e73b834eac7ae8b1e
Change-Id: If0cc9b99ea3e0e6d908d8c1ed476232d3056cb5d
2023-09-27 16:05:12 -07:00
Lifu Tang
91b9f6677f Fix the link text in footer
Bug: 300676250
Test: manual
Change-Id: I186c956c26ffe39decc8f4eaa178522228d00695
2023-09-27 14:11:04 -07:00
Bill Yi
5d14c079bc Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I19e3dc6aac243a714d70f2f13c8fe2f3d92ec507
2023-09-27 13:38:02 -07:00
Bill Yi
9a21ad3bdd Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7d55bf64f4bb60e2e44ca0e645601f44b624912b
2023-09-27 13:36:20 -07:00
Eghosa Ewansiha-Vlachavas
6bd9bff2e2 [1/n] Aspect ratio settings app list refinement
All apps list for work profile currently only shows work apps that are
also installed on the normal user. Update filter for list to show all
launcher apps for both users in their respective lists.

Fixes: 301373413
Test: atest SettingsUnitTests:UserAspectRatioManagerTest
Test: atest SettingsSpaUnitTests:UserAspectRatioAppPreferenceTest
Change-Id: Ia0bf15340d1b37dcd926d81598d3e94f448a46fc
2023-09-27 17:30:23 +00:00
Chaohui Wang
9b4db8d33f Fix & ignore some tests
Fix the followings,
- SimSelectNotificationTest
- WifiCallingSliceHelperTest
- WifiDetailPreferenceController2Test
- WifiDialogActivityTest

Ignore the followings,
- WifiP2pSettingsTest

Fix: 300160894
Test: robo test
Change-Id: I27b6eb61dccbd0688a100154fc77b82a91eede57
2023-09-27 23:45:48 +08:00
Treehugger Robot
df1e559e91 Merge "Remove availability tests from RingVolumePreferenceControllerTest" into main 2023-09-27 14:21:54 +00:00
Treehugger Robot
53142da077 Merge "Use profile badge without background for notification history" into main 2023-09-27 13:41:12 +00:00
Valentin Iftime
8eb200c177 Remove availability tests from RingVolumePreferenceControllerTest
Controller is always UNSUPPORTED_ON_DEVICE.

Test: atest com.android.settings.notification.RingVolumePreferenceControllerTest

Bug: 300157932
Bug: 302295368
Change-Id: I9f0a453d2966e68e34e381ed1b1a0a01e1e65e23
2023-09-27 15:30:54 +02:00
Valentin Iftime
37b3b9b1db Use profile badge without background for notification history
Use the no-brackground work profile badge for notification history list items.

Test: manual
Bug: 291974306
Change-Id: I4c75267be1090cda03de2bc3fdcfc19fc398a223
2023-09-27 14:43:24 +02:00