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

Commit db727a8a authored by Mike Lockwood's avatar Mike Lockwood
Browse files

Remove some unused window manager methods.



Change-Id: I1c28150416b92b96b9f434270652c4be2613434c
Signed-off-by: default avatarMike Lockwood <lockwood@android.com>
parent 3cb67a37
Loading
Loading
Loading
Loading
+0 −24
Original line number Diff line number Diff line
@@ -236,25 +236,6 @@ public interface WindowManagerPolicy {
         */
        public boolean hasAppShownWindows();

        /**
         * Return true if the application token has been asked to display an 
         * app starting icon as the application is starting up. 
         * 
         * @return Returns true if setAppStartingIcon() was called for this 
         *         window's token.
         */
        public boolean hasAppStartingIcon();

        /**
         * Return the Window that is being displayed as this window's 
         * application token is being started. 
         * 
         * @return Returns the currently displayed starting window, or null if 
         *         it was not requested, has not yet been displayed, or has
         *         been removed.
         */
        public WindowState getAppStartingWindow();

        /**
         * Is this window visible?  It is not visible if there is no
         * surface, or we are in the process of running an exit animation
@@ -792,11 +773,6 @@ public interface WindowManagerPolicy {
     */
    void exitKeyguardSecurely(OnKeyguardExitResult callback);

    /**
     * Return if keyguard is currently showing.
     */
    public boolean keyguardIsShowingTq();

    /**
     * inKeyguardRestrictedKeyInputMode
     *
+0 −8
Original line number Diff line number Diff line
@@ -7191,14 +7191,6 @@ public class WindowManagerService extends IWindowManager.Stub
            return mAppToken != null ? mAppToken.firstWindowDrawn : false;
        }

        public boolean hasAppStartingIcon() {
            return mAppToken != null ? (mAppToken.startingData != null) : false;
        }

        public WindowManagerPolicy.WindowState getAppStartingWindow() {
            return mAppToken != null ? mAppToken.startingWindow : null;
        }

        public void setAnimation(Animation anim) {
            if (localLOGV) Log.v(
                TAG, "Setting animation in " + this + ": " + anim);