am 2fc8ad1f: Merge "Properly close Surface when done." into jb-mr2-dev
* commit '2fc8ad1fe68cc819a337e1c48dc27389a823c304': Properly close Surface when done.
This commit is contained in:
@@ -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