Merge "Defer creation of input sink surface until sync completes" into tm-qpr-dev
This commit is contained in:
@@ -7447,8 +7447,10 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A
|
|||||||
} else if (!show && mLastSurfaceShowing) {
|
} else if (!show && mLastSurfaceShowing) {
|
||||||
getSyncTransaction().hide(mSurfaceControl);
|
getSyncTransaction().hide(mSurfaceControl);
|
||||||
}
|
}
|
||||||
if (show) {
|
// Input sink surface is not a part of animation, so just apply in a steady state
|
||||||
mActivityRecordInputSink.applyChangesToSurfaceIfChanged(getSyncTransaction());
|
// (non-sync) with pending transaction.
|
||||||
|
if (show && mSyncState == SYNC_STATE_NONE) {
|
||||||
|
mActivityRecordInputSink.applyChangesToSurfaceIfChanged(getPendingTransaction());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (mThumbnail != null) {
|
if (mThumbnail != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user