- This was fixed already. To avoid keeping failed here, make a work around to this test file.
Flag: EXEMPT bug fix
Fix: 404551954
Test: presubmit pass
Change-Id: I7e6d787a51991525c344a502fbf33b9ca6251667
Merged-In: Icf82dab5a497304df9c3e6a8159e5806ac687445
Resolved an issue in Settings where sunset/sunrise dark mode failed silently when a location was unavailable. Now, an error dialog is shown, even if location services are enabled, but a specific location is missing.
A footer stating the same issue is now present while the location is pending.
Existing banner that appears when Location is disabled is now being removed once Location is turned on. Previously the UI would refresh only after exiting and returning to the preference view.
Bug: 324548844
Bug: 402025928
Test: atest UiModeManagerServiceTest
Flag: EXEMPT bugfix
Change-Id: I914937185f11a686b453f929728b6329ebd05389
Only finish the activity after user has selected a region.
Bug: 403172371
Test: manual
Flag: EXEMPT bugfix
Change-Id: I9eee0728f7a06260249ad1db6d499eeb8c8ea255
Since the updateState() method is being called regardless of the availability of a work profile, we were trying to get settings for USER_NULL, which was leading to crashes.
Flag: com.android.server.notification.polite_notifications
Fixes: 402317471
Test: manual with existing work profile & without existing work profile
Change-Id: Icddabd9a7575713f42a0f5bd955b65a7e46c7f45
This change excludes the contents of 'main_content_scrollable_container'
from scroll capture search.
Explanation: The inner-most child is selected whenever nested scrolling
views are found. This is incorrect for Settings because the inner
RecyclerView isn't actually scrollable (that is, the contents of it are
not scrolled within it, the RecyclerView itself is scrolled by the outer
ScrollView instead). View.canScrollVertically is unfortunately incorrect
for RecyclerView in this case as well.
This change excludes all children of the main ScrollView from the
search. This ensures the outer ScrollView is chosen and this corrects
the 'capture more' screenshot functionality on the Settings home page.
Bug: 399810823
Test: manual; Open settings, screenshot, capture more
Flag: com.android.settings.flags.extended_screenshots_exclude_nested_scrollables
Change-Id: I3363d70b3649e2a34e541c45ab387d59547b8588
Change-Id I3c6d24e3e9a4358ab1adb342dbee8fc56ac16794 added advanced
protection help URI to frameworks/base/core/res/res/values/config.xml,
so this change removes the duplicate resource from Settings and updates
ActionDisabledByAdvancedProtectionDialog to use the framework resource.
Bug: 401233918
Test: manual
Test: atest ActionDisabledByAdvancedProtectionDialog
Flag: EXEMPT bug fix
Change-Id: Ic84909f4c16d3449bd9981be6659987b1963a26a
The previous window type FIRST_APPLICATION_WINDOW was incorrect and
could have caused the dialog to be dimmed and TalkBack to not be
focused. The current window type TYPE_APPLICATION fixes these issues by
correctly placing the dialog in the window hierarchy.
Bug: 404595933
Bug: 404439964
Bug: 353531691
Test: visual
Test: checked with TalkBack
Flag: EXEMPT bug fix
Change-Id: I520220c1527868b6fc928eaa35184ba9b0159e06