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

Commit 052e1784 authored by Bill Lin's avatar Bill Lin Committed by Automerger Merge Worker
Browse files

Merge "Only count EVENT_ONE_HANDED_TRIGGER_ROTATION_OUT in STATE_ACTIVE" into...

Merge "Only count EVENT_ONE_HANDED_TRIGGER_ROTATION_OUT in STATE_ACTIVE" into tm-qpr-dev am: ebefe866 am: 70befc22

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19340115



Change-Id: Ibd945984267a1a423e64b60886af04d45c2282a2
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 37a04e17 70befc22
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -681,11 +681,14 @@ public class OneHandedController implements RemoteCallable<OneHandedController>,
            return;
        }

        mDisplayAreaOrganizer.onRotateDisplay(mContext, toRotation, wct);
        if (mState.getState() == STATE_ACTIVE) {
            mOneHandedUiEventLogger.writeEvent(
                    OneHandedUiEventLogger.EVENT_ONE_HANDED_TRIGGER_ROTATION_OUT);
        }

        mDisplayAreaOrganizer.onRotateDisplay(mContext, toRotation, wct);
    }

    /**
     * The interface for calls from outside the Shell, within the host process.
     */