If the list isn't visible, we shouldn't allow HUNs to be
Test: ZenModeNotifVisFragmentTest, manual
Fixes: 367222597
Flag: EXEMPT bugfix
Change-Id: I1dc72061dfb99aed8b644c703214b17d62b0532e
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
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
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
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
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
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
This reverts commit 1da7265d68.
Reason for revert: keep using these languages for dogfood after 24Q4 cutoff
Change-Id: Ic0a3c8f382f073e8200b20631aee134ea7c76d87
The layout of AppDataUsagePreference including a progressbar, that's not common pattern in SettingsLib.
Bug: 365506467
Bug: 370456736
Change-Id: I28d25724067d85f8d37c3b5273d38055ba7021a6
Test: atest
Flag: EXEMPT bugfix
Touch targets should be at a minimum 48x48 dp; this view was 47 dp high. ¯\_(ツ)_/¯
Fixes: 369963437
Test: manual
Flag: android.app.modes_ui
Change-Id: I8fda0cd505f02abb561e24e583b3ab509b5ef4dd
Content description (full day name) replaces TextOn/TextOff (day name initial), and the state description no longer has the day name. As a result:
* the initial readout changes from "Monday, off, M, Switch" to "Off, Monday, Switch"
* when toggling, the name of the day is no longer repeated, and just "On/Off" is announced.
Fixes: 370360007
Test: manual, with Talkback
Flag: android.app.modes_ui
Change-Id: I57bbd7034e1af2836582720a7f4871a79d6644ab
This might cause callback not being cleaned up properly even if the service is destroyed.
Test: atest
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Bug: 362140159 369452993
Change-Id: I389735162c1f9e41cea25f63f881c20be4effb60
Properly integrating GESTURE into Settings, so that text pertaining to the gesture shortcut are displayed when appropriate.
Heavy refactoring has been done to allow for easier cleanup and expansion
Demo video: https://x20web.corp.google.com/users/jo/jonesriley/splitShortcut/a11ySettingsGestureCompat.mp4
NO_IFTTT=changes do not alter the order of the shortcuts.
Bug: 365570709
Test: atest com.android.settings.accessibility
Flag: android.provider.a11y_standalone_gesture_enabled
Change-Id: If90719763a48e3b8bc35988a1de9a352a766953b
This card links to the deprecated Zen pages that become unavailable with MODES_UI.
Bug: 346789065
Test: atest ConditionManagerTest
Flag: android.app.modes_ui
Change-Id: Ifd097eb7100fa71a871b23ad4a44e3418d05fe61
Although we dynamically replace this string by "Modes access" everywhere in runtime, it seems the search index is based on the XML content.
Test: manual
Fixes: 370036858
Flag: EXEMPT Unflaggable
Change-Id: I48d8a1cb980b58f33041a7fe2a5e6bc3d50d1539
Since the framework behavior was changed after the enabling mobile data dialog was implemented.
Bug: 368450590
Test: manully test the dialog.
Change-Id: I08e0e1b9643781e52f6a9d4fa2c0eccf0feb7901