Commit Graph

135797 Commits

Author SHA1 Message Date
Gil Cukierman
a0b51d6988 Add feature flag for removal of KEY_HIDE_ENABLE_2G
This flag will guard soft removal of the logic to honor
the CarrierConfigManager.KEY_HIDE_ENABLE_2G API.

Bug: 300248708
Test: m Settings
Change-Id: I6a0e94f7208a4f148a3758b327fcd4990175038b
2023-10-02 21:02:11 +00:00
Omer Ozer
9952d054d9 Merge "Add feature flags for Factory Reset Wizard." into main 2023-10-02 15:44:12 +00:00
Shivangi Dubey
097a9e736c Merge "Disable Fold lock behavior setting by default" into main 2023-10-02 10:00:10 +00:00
Hao Dong
d11b9d1647 Merge "Use shared lib for settings v2." into main 2023-09-30 17:25:52 +00:00
Bill Yi
51ab3f9536 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-qpr-dev am: b80f7ea863 -s ours am: 714fd9386f -s ours
am skip reason: subject contains skip directive

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

Change-Id: I6421562657df01cf3d14660b3acf17be13b53ee5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-30 00:00:39 +00:00
Bill Yi
f7424f57e1 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 582d855820 -s ours am: a0f802846b -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie3094696f23a8816c8fbb306314428770a924504
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-30 00:00:22 +00:00
Bill Yi
714fd9386f [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-qpr-dev am: b80f7ea863 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I3c59777bcdf3415b97989198e063ac96ff3084b5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-29 22:55:24 +00:00
Bill Yi
a0f802846b [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 582d855820 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ied8e157ce712c44608f110ee5d33890a735da4a1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-29 22:54:57 +00:00
Bill Yi
b80f7ea863 Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-qpr-dev 2023-09-29 22:49:01 +00:00
Eghosa Ewansiha-Vlachavas
2c50be71c5 Fix testGetUserMinAspectRatioEntry for both tablets and foldables am: 136bd906da am: 933b2431fb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24879571

Change-Id: I1a08e894582e04583bb2f1e26945cae85f1b4fc4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-29 21:51:22 +00:00
Eghosa Ewansiha-Vlachavas
933b2431fb Fix testGetUserMinAspectRatioEntry for both tablets and foldables am: 136bd906da
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24879571

Change-Id: If37a415cc6f53f1f9df7731129dd9fa42341c4d4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-29 20:45:20 +00:00
Omer Ozer
8d4d286d8f Add feature flags for Factory Reset Wizard.
Bug: 301283840
Test: Manual
Change-Id: I1e0d71003fe8a5fe93de6ee5a8c725b5abafb048
2023-09-29 18:17:18 +00:00
Daniel Norman
8c64f07213 Merge "Remove importantForA11y=no from a11y activity launch preference." into main 2023-09-29 17:04:43 +00:00
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
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
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
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