Quick fix for NullPointerException 211713013
Test: Manually tested Fix: 211713013 Change-Id: Ie701bee61a69d88cc9fce12c9d001a52f30578c4
This commit is contained in:
committed by
Winson Chung
parent
5a1d0103e4
commit
76f9cda458
@@ -278,7 +278,9 @@ public class RemoteAnimationTargetCompat {
|
||||
* @see SurfaceControl#release()
|
||||
*/
|
||||
public void release() {
|
||||
leash.mSurfaceControl.release();
|
||||
if (leash.mSurfaceControl != null) {
|
||||
leash.mSurfaceControl.release();
|
||||
}
|
||||
if (mStartLeash != null) {
|
||||
mStartLeash.release();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user