Files
app_Settings/aconfig/settings_flag_declarations.aconfig
Mark Renouf f5aa74b0e8 Fixes 'capture more' on Settings home page
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
2025-03-19 09:22:30 -07:00

93 lines
2.3 KiB
Plaintext

package: "com.android.settings.flags"
container: "system_ext"
flag {
name: "show_factory_reset_cancel_button"
namespace: "android_settings"
description: "This flag controls whether to show a Cancel button when factory reset"
bug: "300634367"
}
flag {
name: "mainline_module_explicit_intent"
namespace: "android_settings"
description: "Enabling will provide an explicit package name for Intent to update mainline modules"
bug: "278987474"
}
flag {
name: "app_archiving"
namespace: "android_settings"
description: "Feature flag to enable the archiving feature."
bug: "323164382"
}
flag {
name: "homepage_revamp"
namespace: "android_settings"
description: "Feature flag to enable new settings homepage UX."
bug: "321612737"
}
flag {
name: "dynamic_injection_category"
namespace: "android_settings"
description: "Feature flag to enable injection into PreferenceCategory."
bug: "333547416"
}
flag {
name: "slices_retirement"
namespace: "android_settings"
description: "Feature flag to remove relevant slices dependencies."
bug: "297367302"
}
flag {
name: "support_raw_dynamic_icons"
namespace: "android_settings"
description: "Flag to gate support of injected preference icons containing raw data"
bug: "351884562"
}
flag {
name: "updated_suggestion_card_aosp"
namespace: "android_settings"
description: "Use updated suggestion card(s) in AOSP Settings"
bug: "323258154"
}
flag {
name: "catalyst"
namespace: "android_settings"
description: "Flag for all screens"
bug: "323791114"
}
flag {
name: "catalyst_service"
namespace: "android_settings"
description: "Flag for catalyst service"
bug: "323791114"
}
flag {
name: "utils_return_user_handle_for_current_user_id"
namespace: "profile_experiences"
description: "Don't ignore the current user id when checking for existing profiles."
bug: "378471943"
metadata {
purpose: PURPOSE_BUGFIX
}
}
flag {
name: "extended_screenshots_exclude_nested_scrollables"
namespace: "systemui"
description: "Sets a flag on the main scrollable container to exclude any nested scrollable views as potential targets for extended screenshots."
bug: "399810823"
metadata {
purpose: PURPOSE_BUGFIX
}
}