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

Commit f920ff4b authored by Galia Peycheva's avatar Galia Peycheva
Browse files

Remove splash screen animation on TV

Previously we set the animation duration to 0, which might still trigger some work for the starting window. It's better to set the animation to NONE to avoid that

Bug: 243060417
Test: m

Change-Id: I9481ca612c0b2b401f35e5530b62d9bb1e098b89
parent 5242e7a9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@

package com.android.wm.shell.startingsurface.tv;

import static android.window.StartingWindowInfo.STARTING_WINDOW_TYPE_SOLID_COLOR_SPLASH_SCREEN;
import static android.window.StartingWindowInfo.STARTING_WINDOW_TYPE_NONE;

import android.window.StartingWindowInfo;

@@ -30,6 +30,6 @@ public class TvStartingWindowTypeAlgorithm implements StartingWindowTypeAlgorith
    @Override
    public int getSuggestedWindowType(StartingWindowInfo windowInfo) {
        // For now we want to always show empty splash screens on TV.
        return STARTING_WINDOW_TYPE_SOLID_COLOR_SPLASH_SCREEN;
        return STARTING_WINDOW_TYPE_NONE;
    }
}