Commit Graph

144161 Commits

Author SHA1 Message Date
SongFerng Wang
817cc47b28 Merge "Refactor the getCurrentCarrierNameForDisplay" into main 2024-10-07 09:23:04 +00:00
SongFerng Wang
27d969bb48 Refactor the getCurrentCarrierNameForDisplay
Bug: 370884447
Change-Id: I4abfbd520297e5c000984fcd5b6a2ad4db9a35e9
Test: NA
Flag: EXEMPT bugfix
2024-10-07 07:34:12 +00:00
Treehugger Robot
f82f48a621 Merge "Add log for new error string in WiFi QR code scanning" into main 2024-10-07 07:33:29 +00:00
Guojing Yuan
d440f2ef05 [CDM][NLS] Check if the NLS service has an intent-filter
Bug: 363248394
Test: CTS
Flag: EXEMPT bugfix
Change-Id: Ib79c219cde8d73a218ceb7911f4552d43e384d8e
Merged-In: Ib79c219cde8d73a218ceb7911f4552d43e384d8e
(cherry picked from commit 7ae59a42eb)
2024-10-04 22:51:57 +00:00
Guojing Yuan
e4fe2f5b81 [CDM][NLS] Check if the NLS service has an intent-filter
Bug: 363248394
Test: CTS
Flag: EXEMPT bugfix
Change-Id: Ib79c219cde8d73a218ceb7911f4552d43e384d8e
Merged-In: Ib79c219cde8d73a218ceb7911f4552d43e384d8e
(cherry picked from commit 7ae59a42eb)
2024-10-04 22:50:07 +00:00
Treehugger Robot
3ef49b9d5f Merge "[CDM][NLS] Check if the NLS service has an intent-filter" into main 2024-10-04 18:24:30 +00:00
Chun-Ku Lin
b3ebc1968d Merge "[Physical Keyboard][Setting] New pk a11y entry under a11y page" into main 2024-10-04 17:40:21 +00:00
Matías Hernández
e5720f43ee Don't crash when recreating ZenModeTimePickerFragment
Instead, just bail out.

Fixes: 369814629
Test: manual, with don't keep activities
Flag: android.app.modes_ui
Change-Id: I893b6363801b3a56bc29999dd801d7c8152cb5e8
2024-10-04 18:58:53 +02:00
Guojing Yuan
7ae59a42eb [CDM][NLS] Check if the NLS service has an intent-filter
Bug: 363248394
Test: CTS
Flag: EXEMPT bugfix
Change-Id: Ib79c219cde8d73a218ceb7911f4552d43e384d8e
2024-10-04 16:52:24 +00:00
Diya Bera
cb6b37e6d6 Merge "Avoid using MANDATORY_BIOMETRICS bit if flag is not enabled" into main 2024-10-04 15:39:48 +00:00
Diya Bera
aa322bc4f7 Avoid using MANDATORY_BIOMETRICS bit if flag is not enabled
Flag: android.hardware.biometrics.flags.mandatory_biometrics
Bug: 370757426
Test: N/A
Change-Id: I4e2a72a80f68579d60466e859370b6fd93a8cd23
2024-10-04 14:10:24 +00:00
Hakjun Choi
20f3fa9846 Merge "Hide extra information link when it is empty" into main 2024-10-04 13:20:06 +00:00
Peter Liang
f1296e36dd Merge "Update the illustration of the caption preferences under dark theme." into main 2024-10-04 12:27:38 +00:00
Weng Su
5644fe1aa7 Add log for new error string in WiFi QR code scanning
Bug: 371506692
Flag: EXEMPT log only update
Test: manual test
Change-Id: I2bc15b0aa0a98a5f8193383decb60308544c810c
2024-10-04 18:27:34 +08:00
Hakjun Choi
c2c2722771 Hide extra information link when it is empty
Extra information may be or may not be provided as this is given from the Carriers, therefore it is needed to hide when there is no given URL string

Bug: 360265682
Flag: EXEMPT bugfix
Test: manually test when extra information is valid and when extra information is empty
      https://b.corp.google.com/issues/360265682#comment2 for UI test
result

Change-Id: Icf7f06e6af8580d0e84382a2598be75e321cf657
2024-10-04 10:17:47 +00:00
shaoweishen
f0b6123acc [Physical Keyboard][Setting] New pk a11y entry under a11y page
Add entry for physical keyboard a11y page under a11y setting

Bug: 345399212
Test: atest SettingsRoboTests
Flag: com.android.settings.keyboard.keyboard_and_touchpad_a11y_new_page_enabled
Change-Id: I0c59c3a9df1b5df5e22349ab3907f767682d6fb9
2024-10-04 09:06:10 +00:00
Treehugger Robot
ff40ec28e9 Merge "Add flag for the Display page migration" into main 2024-10-04 08:02:56 +00:00
Peter Liang
a994f04c2f Update the illustration of the caption preferences under dark theme.
Screenshot:
https://screenshot.googleplex.com/BQkzxcnwLet2MTU

Fix: 371124381
Test: Build ROM and install
Flag: EXEMPT bugfix
Change-Id: I75ca14465f492bd2a397b587467c1064c0e41c48
2024-10-04 14:35:37 +08:00
Sunny Shao
34d04eb143 Add flag for the Display page migration
Test: compile
Bug: 368359268
Flag: com.android.settings.flags.catalyst_display_settings_screen
Change-Id: Ic30d05dceef82dc7430b12e4512e4869e0eff812
2024-10-04 13:47:26 +08:00
SongFerng Wang
7c6b213c73 Merge "VideoCalling UI adds the init value" into main 2024-10-04 04:55:46 +00:00
Joseph Vincent
5087754b42 Merge "Show custom unlock title for private profile" into main 2024-10-04 02:24:48 +00:00
Yuri Lin
539bae8db4 Add missing paren
Bug: n/a comment only
Test: n/a comment only
Flag: android.app.modes_ui

Change-Id: Ia43b76e969fcd9a5ad1d682ffb99fc1b48644f93
2024-10-03 21:14:50 +00:00
Matías Hernández
154a91fc7e Merge "Use TextInputLayout for the name field in the create/rename mode page" into main 2024-10-03 20:45:04 +00:00
Treehugger Robot
6471850a00 Merge "Remove obsolete zen-related entries from CustomSiteMapRegistry" into main 2024-10-03 18:57:00 +00:00
Matías Hernández
c238b3b1cf Remove obsolete zen-related entries from CustomSiteMapRegistry
These pages no longer exist with MODES_UI.

Bug: 346789065
Test: atest CustomSiteMapRegistryTest
Flag: android.app.modes_ui
Change-Id: I254b4eb15a71bf7a6765c1ea7d0cb31c59fe2f0c
2024-10-03 19:46:21 +02:00
Tetiana Meronyk
92ada7e3a5 Remove "Add supervised user" from search result if such user type is not allowed on the device
Bug: 371202325
Test: manual: 1. Open settings 2. Search "Add user" 3. Verify "Add supervised user" does not come up
Flag: EXEMPT bugfix
Change-Id: Iaf96bd8d7ffde4f9d09f14af1de422e1b1d39eda
2024-10-03 17:28:25 +00:00
Matías Hernández
b234ca21ab Merge "Delete Settings code related to super-obsolete zen onboarding" into main 2024-10-03 17:01:36 +00:00
Treehugger Robot
b589ba5e94 Merge "Update dependent logic in modes vis page" into main 2024-10-03 16:30:28 +00:00
Julia Reynolds
8c2312d8ab Update dependent logic in modes vis page
If the list isn't visible, we shouldn't allow HUNs to be

Test: ZenModeNotifVisFragmentTest, manual
Fixes: 367222597
Flag: EXEMPT bugfix
Change-Id: I1dc72061dfb99aed8b644c703214b17d62b0532e
2024-10-03 15:28:50 +00:00
Tetiana Meronyk
5583281ba4 Merge "Update search index in UserSettings based on allowed user types" into main 2024-10-03 15:27:52 +00:00
songferngwang
8e6bc6f289 VideoCalling UI adds the init value
Bug: 367696228
Test: atest VideoCallingPreferenceControllerTest
Flag: EXEMPT bugfix
Change-Id: I1a1de9e3174a9211be619c96c104607f831b51a2
2024-10-03 14:29:05 +00:00
josephpv
6a333a2ac3 Show custom unlock title for private profile
With this change whenever private space is unlocked and has its own lock
different from device lock, it shows a custom title for PS in the unlock
screen.

Custom title for private profile will be  shown in the auth screen while
authentiation of private lock for the below usecase inside PS settings.
- Auth shown while Delete private space from PS settings
- Switching to device screen lock from a separate private space lock
- Changing the private space lock type(Ex: from pattern to PIN)
- Adding a biometric(face/fingerprint) for private profile

When auth screen with custom title is put to background and the screen
is in the recents list and if private space is locked then the auth
scren with the title is removed from recents list along with the other
settings task.

Bug: 323835257
Test: Manual
Change-Id: Ia0cc0b9bb54a429ebe027dc0937320e7fd23cb81
Flag: android.multiuser.show_custom_unlock_title_inside_private_profile
2024-10-03 12:28:43 +00:00
Matías Hernández
b1e28233c1 Use TextInputLayout for the name field in the create/rename mode page
In addition to looking nicer, this fixes two accessibility issues ("no hint when text is entered" and "reason for disabled button is unclear").

This requires a bit of theme merging black magic, because TextInputLayout requires a Theme.AppCompat descendant, which the Settings theme isn't.

Fixes: 356398157
Fixes: 370654542
Fixes: 369942776
Test: atest ZenModeEditNamePreferenceControllerTest
Flag: android.app.modes_ui
Change-Id: I92d8ec044dabc6daed5d755e206120ec7abc143e
2024-10-03 14:14:34 +02:00
Tetiana Meronyk
1da65db12f Update search index in UserSettings based on allowed user types
If USER_TYPE_FULL_RESTRICTED is disallowed, addUserPreference is renamed to only mention user. But search results still state default name "Add user or profile". This change updates this entry in the search index.

Bug: 365899560
Test: atest UserSettingsTest#testGetRawDataToIndex_returnAllIndexablePreferences && atest UserSettingsTest#testGetRawDataToIndex_addRestrictedProfileAllowed_addUserTitleIsCorrect && atest UserSettingsTest#testGetRawDataToIndex_addRestrictedProfileDisallowed_addUserTitleIsCorrect
Flag: EXEMPT bugfix_only
Change-Id: I3c26180225491e4916141a3fca9d2e7ab36e8cfc
2024-10-03 12:02:44 +00:00
SongFerng Wang
aad13d8836 Merge "Encounter unknown error in test" into main 2024-10-03 11:54:30 +00:00
SongFerng Wang
dd7e4d27ae Encounter unknown error in test
When atest on aosp_cf_x86_64_only_phone-trunk_staging-userdebug,
it said the "java.lang.NoSuchMethodError: No static method getCurrentCarrierNameForDisplay(Landroid/content/Context;)Ljava/lang/CharSequence; in class Lcom/android/settings/network/telephony/MobileNetworkUtils;"

Bug: 370884447
Bug: 370425683
Change-Id: I76bfc4c1cabaf569d74309e9e9ad6612f5649d9b
Test: atest MobileNetworkUtilsTest
Flag: EXEMPT bugfix
2024-10-03 07:05:13 +00:00
Edgar Wang
fd84f1203e Merge "Update the layout of AppDataUsagePreference" into main 2024-10-03 01:16:12 +00:00
Treehugger Robot
78153998c7 Merge "Distinguish different errors of wifi QR code" into main 2024-10-02 21:26:00 +00:00
Yufan Cao
73f66eb8f1 Distinguish different errors of wifi QR code
When failure occurs after scanning wifi QR code, only "Check connection
and try again" will show, which is confusing for user to understand the
errors and take next action.

Add more string resources to cover different errors.

Co-authored-by: Yufan Cao <Yufan.Cao@sony.com>

Flag: EXEMPT bugfix
Test: manual test
Bug: 362305039
Change-Id: I85145eb67eecdc3aa06bb7b8a7b3e7f0ffea1f62
2024-10-02 20:23:42 +00:00
Tom Hsu
1955144ffc Avoid test flaky
Change-Id: Id1290e6979fdafa93ded6f50e49d6b3464a80b50
flag: EXEMPT bugfix
fix: 365673174
Test: atest
2024-10-02 07:47:20 +00:00
Bill Yi
efbac14e06 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-10-02 05:37:39 +00:00
Treehugger Robot
2d9dc0521f Merge "Set content description for the "settings" of starred contacts, priority conversations, etc" into main 2024-10-02 00:51:31 +00:00
Alina Zaidi
cc3eac9b7c [dev_option] Move DestopModeFlags out of android.windows.flags
This is to maintain separation of non-generated files from generated flag values.

Test: Current tests pass
Flag: EXEMPT refactoring
Bug: 370777204
Change-Id: I6588ebec59519b4e0d6c83057b8106c20a3df8fa
2024-10-01 18:29:14 +00:00
Bill Yi
42e47a9b2d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ied5f156eed264d70de34b72bdfe4f357effe419d
2024-10-01 10:11:40 -07:00
Matías Hernández
58a110bc48 Set content description for the "settings" of starred contacts, priority conversations, etc
Fixes: 368124250
Test: manual, with Talkback
Flag: android.app.modes_ui
Change-Id: Ib4e8bdd5ea0931db2049925f82696d3a55f35bcb
2024-10-01 18:51:19 +02:00
Allen Su
bdd8c89ed2 Merge "Revert "[ToA] Remove ToA languages"" into main 2024-10-01 09:36:11 +00:00
Allen Su
a18eea0283 Revert "[ToA] Remove ToA languages"
This reverts commit 1da7265d68.

Reason for revert: keep using these languages for dogfood after 24Q4 cutoff

Change-Id: Ic0a3c8f382f073e8200b20631aee134ea7c76d87
2024-10-01 08:26:46 +00:00
Treehugger Robot
91c78e7223 Merge "Don't register DndConditionCardController anymore" into main 2024-10-01 03:11:05 +00:00
Riley Jones
b2b9bc2371 Merge "Refactoring A11y shortcut functions in Settings to use GESTURE" into main 2024-09-30 19:38:10 +00:00
Treehugger Robot
2be56f27f3 Merge "Make the name EditText at least 48dp high in the Mode rename page" into main 2024-09-30 17:39:10 +00:00