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

Commit 3491c518 authored by Evan Rosky's avatar Evan Rosky Committed by Android (Google) Code Review
Browse files

Merge "Enable Shell Transitions"

parents 26aee09d 60669eda
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -94,7 +94,7 @@ public class SplitController implements JetpackTaskFragmentOrganizer.TaskFragmen
        ActivityEmbeddingComponent {
        ActivityEmbeddingComponent {
    static final String TAG = "SplitController";
    static final String TAG = "SplitController";
    static final boolean ENABLE_SHELL_TRANSITIONS =
    static final boolean ENABLE_SHELL_TRANSITIONS =
            SystemProperties.getBoolean("persist.wm.debug.shell_transit", false);
            SystemProperties.getBoolean("persist.wm.debug.shell_transit", true);


    @VisibleForTesting
    @VisibleForTesting
    @GuardedBy("mLock")
    @GuardedBy("mLock")
+1 −1
Original line number Original line Diff line number Diff line
@@ -81,7 +81,7 @@ public class Transitions implements RemoteCallable<Transitions> {


    /** Set to {@code true} to enable shell transitions. */
    /** Set to {@code true} to enable shell transitions. */
    public static final boolean ENABLE_SHELL_TRANSITIONS =
    public static final boolean ENABLE_SHELL_TRANSITIONS =
            SystemProperties.getBoolean("persist.wm.debug.shell_transit", false);
            SystemProperties.getBoolean("persist.wm.debug.shell_transit", true);
    public static final boolean SHELL_TRANSITIONS_ROTATION = ENABLE_SHELL_TRANSITIONS
    public static final boolean SHELL_TRANSITIONS_ROTATION = ENABLE_SHELL_TRANSITIONS
            && SystemProperties.getBoolean("persist.wm.debug.shell_transit_rotate", false);
            && SystemProperties.getBoolean("persist.wm.debug.shell_transit_rotate", false);


+1 −1
Original line number Original line Diff line number Diff line
@@ -61,7 +61,7 @@ import org.mockito.MockitoAnnotations;
@RunWith(AndroidJUnit4.class)
@RunWith(AndroidJUnit4.class)
public final class StageTaskListenerTests extends ShellTestCase {
public final class StageTaskListenerTests extends ShellTestCase {
    private static final boolean ENABLE_SHELL_TRANSITIONS =
    private static final boolean ENABLE_SHELL_TRANSITIONS =
            SystemProperties.getBoolean("persist.wm.debug.shell_transit", false);
            SystemProperties.getBoolean("persist.wm.debug.shell_transit", true);


    @Mock
    @Mock
    private ShellTaskOrganizer mTaskOrganizer;
    private ShellTaskOrganizer mTaskOrganizer;
+1 −1
Original line number Original line Diff line number Diff line
@@ -236,7 +236,7 @@ public class Flags {
    // 1100 - windowing
    // 1100 - windowing
    @Keep
    @Keep
    public static final SysPropBooleanFlag WM_ENABLE_SHELL_TRANSITIONS =
    public static final SysPropBooleanFlag WM_ENABLE_SHELL_TRANSITIONS =
            new SysPropBooleanFlag(1100, "persist.wm.debug.shell_transit", false);
            new SysPropBooleanFlag(1100, "persist.wm.debug.shell_transit", true);


    /**
    /**
     * b/170163464: animate bubbles expanded view collapse with home gesture
     * b/170163464: animate bubbles expanded view collapse with home gesture
+1 −1
Original line number Original line Diff line number Diff line
@@ -423,7 +423,7 @@ public class WindowManagerService extends IWindowManager.Stub
     * @see #ENABLE_SHELL_TRANSITIONS
     * @see #ENABLE_SHELL_TRANSITIONS
     */
     */
    public static final boolean sEnableShellTransitions =
    public static final boolean sEnableShellTransitions =
            SystemProperties.getBoolean(ENABLE_SHELL_TRANSITIONS, false);
            SystemProperties.getBoolean(ENABLE_SHELL_TRANSITIONS, true);


    /**
    /**
     * Allows a fullscreen windowing mode activity to launch in its desired orientation directly
     * Allows a fullscreen windowing mode activity to launch in its desired orientation directly