Merge "Properly close Surface when done." into jb-mr2-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
2fc8ad1fe6
@@ -234,6 +234,7 @@ class ScreenRotationAnimation {
|
||||
mSurfaceControl.setLayer(FREEZE_LAYER + 1);
|
||||
mSurfaceControl.setAlpha(0);
|
||||
mSurfaceControl.show();
|
||||
sur.destroy();
|
||||
} catch (SurfaceControl.OutOfResourcesException e) {
|
||||
Slog.w(TAG, "Unable to allocate freeze surface", e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user