summaryrefslogtreecommitdiff
path: root/aconfig
diff options
context:
space:
mode:
author Mark Renouf <mrenouf@google.com> 2024-05-02 16:06:13 -0400
committer Mark Renouf <mrenouf@google.com> 2024-05-02 16:47:49 -0400
commit5b6870398d1c573a946736f3fca8273678de46f2 (patch)
tree584500c2401fdfeefef5742185365d9b13992807 /aconfig
parent8bcb1b4b6811ad123f6c37068577fd85228d6674 (diff)
Clean up onApplyWindowInsets and apply in all cases
Profile pager empty state inset padding was only applied when 'hasWorkProfile' was true. This seems to have been an alias for "are tabs shown", however this is no longer correct. Instead the "empty content" padding should include system bar insets unconditionally. For a test case, enable 3-button nav, add a private profile and test sharing content which has no matching apps (ShareTest with no text). The empty state view is shown partially beneath the nav bar. Bug: 338447666 Test: manually; see change description Flag: com.android.intentresolver.fix_empty_state_padding Change-Id: I8a65214095de3517330d75e20da9bf0d35a82bac
Diffstat (limited to 'aconfig')
-rw-r--r--aconfig/FeatureFlags.aconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/aconfig/FeatureFlags.aconfig b/aconfig/FeatureFlags.aconfig
index 4d787ea2..b7d9ea0d 100644
--- a/aconfig/FeatureFlags.aconfig
+++ b/aconfig/FeatureFlags.aconfig
@@ -52,3 +52,9 @@ flag {
purpose: PURPOSE_BUGFIX
}
}
+flag {
+ name: "fix_empty_state_padding"
+ namespace: "intentresolver"
+ description: "Always apply systemBar window insets regardless of profiles present"
+ bug: "338447666"
+}