summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Mark Renouf <mrenouf@google.com> 2024-12-09 13:56:20 -0500
committer Mark Renouf <mrenouf@google.com> 2024-12-12 10:07:51 -0500
commitbdfdad19bbbf84c4f4b17e0dc04b8c25168fb97f (patch)
tree16e91c0a9f7f374472f7996b6f78142ba6bf6bea
parentb6da9231e0725f3a8c21c1c67dc44e6303f96b52 (diff)
Remove flag 'fix_empty_state_padding_bug'
And the other original (unused) flag without the '_bug' suffix. Bug: 377522331 Flag: NONE released flag removal Test: NONE no functional change Change-Id: I6109a91a87c95681951cd254c0e470047c5b1741
-rw-r--r--aconfig/FeatureFlags.aconfig17
-rw-r--r--java/src/com/android/intentresolver/ChooserActivity.java7
2 files changed, 2 insertions, 22 deletions
diff --git a/aconfig/FeatureFlags.aconfig b/aconfig/FeatureFlags.aconfig
index dfe1bb2d..2a526875 100644
--- a/aconfig/FeatureFlags.aconfig
+++ b/aconfig/FeatureFlags.aconfig
@@ -36,23 +36,6 @@ flag {
}
flag {
- name: "fix_empty_state_padding"
- namespace: "intentresolver"
- description: "Always apply systemBar window insets regardless of profiles present"
- bug: "338447666"
-}
-
-flag {
- name: "fix_empty_state_padding_bug"
- namespace: "intentresolver"
- description: "Always apply systemBar window insets regardless of profiles present"
- bug: "338447666"
- metadata {
- purpose: PURPOSE_BUGFIX
- }
-}
-
-flag {
name: "fix_missing_drawer_offset_calculation"
namespace: "intentresolver"
description: "Recalculate drawer offset upon the preview size change when the targets list remains unchanged"
diff --git a/java/src/com/android/intentresolver/ChooserActivity.java b/java/src/com/android/intentresolver/ChooserActivity.java
index e9e43dae..c97d3124 100644
--- a/java/src/com/android/intentresolver/ChooserActivity.java
+++ b/java/src/com/android/intentresolver/ChooserActivity.java
@@ -24,7 +24,6 @@ import static androidx.lifecycle.LifecycleKt.getCoroutineScope;
import static com.android.intentresolver.ChooserActionFactory.EDIT_SOURCE;
import static com.android.intentresolver.Flags.fixDrawerOffsetOnConfigChange;
-import static com.android.intentresolver.Flags.fixEmptyStatePaddingBug;
import static com.android.intentresolver.Flags.fixMissingDrawerOffsetCalculation;
import static com.android.intentresolver.Flags.fixShortcutsFlashing;
import static com.android.intentresolver.Flags.keyboardNavigationFix;
@@ -2688,10 +2687,8 @@ public class ChooserActivity extends Hilt_ChooserActivity implements
protected WindowInsets onApplyWindowInsets(View v, WindowInsets insets) {
mSystemWindowInsets = insets.getInsets(WindowInsets.Type.systemBars());
- if (fixEmptyStatePaddingBug() || mProfiles.getWorkProfilePresent()) {
- mChooserMultiProfilePagerAdapter
- .setEmptyStateBottomOffset(mSystemWindowInsets.bottom);
- }
+ mChooserMultiProfilePagerAdapter
+ .setEmptyStateBottomOffset(mSystemWindowInsets.bottom);
mResolverDrawerLayout.setPadding(mSystemWindowInsets.left, mSystemWindowInsets.top,
mSystemWindowInsets.right, 0);