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

Commit 0e864bbc authored by Jorim Jaggi's avatar Jorim Jaggi Committed by Android (Google) Code Review
Browse files

Merge "resolve merge conflicts of c5bafe26 to master"

parents 5b0434ae 32cbdcc8
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -507,6 +507,11 @@ public interface WindowManagerPolicy {
         * Retrieves the {@param outBounds} from the stack with id {@param stackId}.
         */
        void getStackBounds(int stackId, Rect outBounds);

        /**
         * Overrides all currently playing app animations with {@param a}.
         */
        void overridePlayingAppAnimationsLw(Animation a);
    }

    public interface PointerEventListener {
+2 −1
Original line number Diff line number Diff line
@@ -28,8 +28,9 @@ oneway interface IKeyguardService {
     * FLAG_SHOW_ON_LOCK_SCREEN.
     *
     * @param isOccluded Whether the Keyguard is occluded by another window.
     * @param animate Whether to play an animation for the state change.
     */
    void setOccluded(boolean isOccluded);
    void setOccluded(boolean isOccluded, boolean animate);

    void addStateMonitorCallback(IKeyguardStateCallback callback);
    void verifyUnlock(IKeyguardExitCallback callback);
+1 −0
Original line number Diff line number Diff line
@@ -1951,6 +1951,7 @@
  <java-symbol type="anim" name="lock_screen_behind_enter_fade_in" />
  <java-symbol type="anim" name="lock_screen_wallpaper_exit" />
  <java-symbol type="anim" name="launch_task_behind_source" />
  <java-symbol type="anim" name="wallpaper_open_exit" />

  <java-symbol type="bool" name="config_alwaysUseCdmaRssi" />
  <java-symbol type="dimen" name="status_bar_icon_size" />
+2 −2
Original line number Diff line number Diff line
@@ -90,10 +90,10 @@ public class KeyguardService extends Service {
        }

        @Override // Binder interface
        public void setOccluded(boolean isOccluded) {
        public void setOccluded(boolean isOccluded, boolean animate) {
            Trace.beginSection("KeyguardService.mBinder#setOccluded");
            checkPermission();
            mKeyguardViewMediator.setOccluded(isOccluded);
            mKeyguardViewMediator.setOccluded(isOccluded, animate);
            Trace.endSection();
        }

+5 −5
Original line number Diff line number Diff line
@@ -1126,11 +1126,11 @@ public class KeyguardViewMediator extends SystemUI {
    /**
     * Notify us when the keyguard is occluded by another window
     */
    public void setOccluded(boolean isOccluded) {
    public void setOccluded(boolean isOccluded, boolean animate) {
        Trace.beginSection("KeyguardViewMediator#setOccluded");
        if (DEBUG) Log.d(TAG, "setOccluded " + isOccluded);
        mHandler.removeMessages(SET_OCCLUDED);
        Message msg = mHandler.obtainMessage(SET_OCCLUDED, (isOccluded ? 1 : 0), 0);
        Message msg = mHandler.obtainMessage(SET_OCCLUDED, isOccluded ? 1 : 0, animate ? 1 : 0);
        mHandler.sendMessage(msg);
        Trace.endSection();
    }
@@ -1138,7 +1138,7 @@ public class KeyguardViewMediator extends SystemUI {
    /**
     * Handles SET_OCCLUDED message sent by setOccluded()
     */
    private void handleSetOccluded(boolean isOccluded) {
    private void handleSetOccluded(boolean isOccluded, boolean animate) {
        Trace.beginSection("KeyguardViewMediator#handleSetOccluded");
        synchronized (KeyguardViewMediator.this) {
            if (mHiding && isOccluded) {
@@ -1149,7 +1149,7 @@ public class KeyguardViewMediator extends SystemUI {

            if (mOccluded != isOccluded) {
                mOccluded = isOccluded;
                mStatusBarKeyguardViewManager.setOccluded(isOccluded);
                mStatusBarKeyguardViewManager.setOccluded(isOccluded, animate);
                updateActivityLockScreenState();
                adjustStatusBarLocked();
            }
@@ -1489,7 +1489,7 @@ public class KeyguardViewMediator extends SystemUI {
                    break;
                case SET_OCCLUDED:
                    Trace.beginSection("KeyguardViewMediator#handleMessage SET_OCCLUDED");
                    handleSetOccluded(msg.arg1 != 0);
                    handleSetOccluded(msg.arg1 != 0, msg.arg2 != 0);
                    Trace.endSection();
                    break;
                case KEYGUARD_TIMEOUT:
Loading