Merge "Only count EVENT_ONE_HANDED_TRIGGER_ROTATION_OUT in STATE_ACTIVE" into tm-qpr-dev am: ebefe8661f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19340115 Change-Id: Ic539c3accd21f422186e1c3320b0709d5f569551 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -681,9 +681,12 @@ public class OneHandedController implements RemoteCallable<OneHandedController>,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (mState.getState() == STATE_ACTIVE) {
|
||||||
|
mOneHandedUiEventLogger.writeEvent(
|
||||||
|
OneHandedUiEventLogger.EVENT_ONE_HANDED_TRIGGER_ROTATION_OUT);
|
||||||
|
}
|
||||||
|
|
||||||
mDisplayAreaOrganizer.onRotateDisplay(mContext, toRotation, wct);
|
mDisplayAreaOrganizer.onRotateDisplay(mContext, toRotation, wct);
|
||||||
mOneHandedUiEventLogger.writeEvent(
|
|
||||||
OneHandedUiEventLogger.EVENT_ONE_HANDED_TRIGGER_ROTATION_OUT);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user