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

Commit 23b9e8b3 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Magnification: Fix screen freeze after activity resumes from rotation"

parents 3e80635a db70d6ac
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -133,7 +133,6 @@ final class DisplayMagnifier {
            Slog.i(LOG_TAG, "Rotaton: " + Surface.rotationToString(rotation)
                    + " displayId: " + displayContent.getDisplayId());
        }
        mMagnifedViewport.onRotationChangedLocked();
        mHandler.sendEmptyMessage(MyHandler.MESSAGE_NOTIFY_ROTATION_CHANGED);
    }

@@ -736,6 +735,8 @@ final class DisplayMagnifier {
                } break;
                case MESSAGE_NOTIFY_ROTATION_CHANGED: {
                    final int rotation = message.arg1;

                    mMagnifedViewport.onRotationChangedLocked();
                    try {
                        mCallbacks.onRotationChanged(rotation);
                    } catch (RemoteException re) {