Merge changes I98b51b43,I03cb69e1 into rvc-dev am: f2f056ef71 am: a77f60313d
Change-Id: I0fa94608b8cf1697571abec966cff6dd67c153e6
This commit is contained in:
@@ -91,7 +91,7 @@ public class InsetsAnimationThreadControlRunner implements InsetsAnimationContro
|
|||||||
@AnimationType int animationType, Handler mainThreadHandler) {
|
@AnimationType int animationType, Handler mainThreadHandler) {
|
||||||
mMainThreadHandler = mainThreadHandler;
|
mMainThreadHandler = mainThreadHandler;
|
||||||
mOuterCallbacks = controller;
|
mOuterCallbacks = controller;
|
||||||
mControl = new InsetsAnimationControlImpl(copyControls(controls), frame, state, listener,
|
mControl = new InsetsAnimationControlImpl(controls, frame, state, listener,
|
||||||
types, mCallbacks, durationMs, interpolator, animationType);
|
types, mCallbacks, durationMs, interpolator, animationType);
|
||||||
InsetsAnimationThread.getHandler().post(() -> listener.onReady(mControl, types));
|
InsetsAnimationThread.getHandler().post(() -> listener.onReady(mControl, types));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -117,7 +117,7 @@ public class InsetsSourceConsumer {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (lastControl != null) {
|
if (lastControl != null) {
|
||||||
lastControl.release(mController::releaseSurfaceControlFromRt);
|
lastControl.release(SurfaceControl::release);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user