Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f717b33f authored by Yunfan Chen's avatar Yunfan Chen
Browse files

Introduce system UI immersive confirmation dialog feature flag

To ensure a smooth transition for the non trivial refactor to move the
immersive confirmation dialog implementation from the system server to
the system UI, introduce a new feature flag for that. Also, replace the
existing control flag with the feature flag.

Bug: 359713629
Flag: com.android.window.flags.system_ui_immersive_confirmation_dialog
Test: build
Change-Id: Iddc81abe27163e888b845fd979b48c0f918d8e33
parent c7b81721
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -133,6 +133,7 @@ import static com.android.window.flags.Flags.enableCaptionCompatInsetForceConsum
import static com.android.window.flags.Flags.insetsControlChangedItem;
import static com.android.window.flags.Flags.insetsControlSeq;
import static com.android.window.flags.Flags.setScPropertiesInClient;
import static com.android.window.flags.Flags.systemUiImmersiveConfirmationDialog;
import android.Manifest;
import android.accessibilityservice.AccessibilityService;
@@ -378,7 +379,7 @@ public final class ViewRootImpl implements ViewParent,
     * @hide
     */
    public static final boolean CLIENT_IMMERSIVE_CONFIRMATION =
            SystemProperties.getBoolean("persist.wm.debug.client_immersive_confirmation", false);
            systemUiImmersiveConfirmationDialog();
    /**
     * Set this system property to true to force the view hierarchy to render
+8 −0
Original line number Diff line number Diff line
@@ -201,6 +201,14 @@ flag {
  }
}

flag {
  name: "system_ui_immersive_confirmation_dialog"
  namespace: "windowing_frontend"
  description: "Enable the implementation of the immersive confirmation dialog on system UI side by default"
  bug: "359713629"
  is_fixed_read_only: true
}

flag {
  name: "ensure_wallpaper_in_transitions"
  namespace: "windowing_frontend"