Merge "Only count EVENT_ONE_HANDED_TRIGGER_ROTATION_OUT in STATE_ACTIVE" into tm-qpr-dev
This commit is contained in:
@@ -681,11 +681,14 @@ public class OneHandedController implements RemoteCallable<OneHandedController>,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
mDisplayAreaOrganizer.onRotateDisplay(mContext, toRotation, wct);
|
if (mState.getState() == STATE_ACTIVE) {
|
||||||
mOneHandedUiEventLogger.writeEvent(
|
mOneHandedUiEventLogger.writeEvent(
|
||||||
OneHandedUiEventLogger.EVENT_ONE_HANDED_TRIGGER_ROTATION_OUT);
|
OneHandedUiEventLogger.EVENT_ONE_HANDED_TRIGGER_ROTATION_OUT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mDisplayAreaOrganizer.onRotateDisplay(mContext, toRotation, wct);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The interface for calls from outside the Shell, within the host process.
|
* The interface for calls from outside the Shell, within the host process.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user