Loading core/java/android/view/Surface.java +5 −3 Original line number Original line Diff line number Diff line Loading @@ -341,11 +341,13 @@ public class Surface implements Parcelable { */ */ @UnsupportedAppUsage @UnsupportedAppUsage public void destroy() { public void destroy() { synchronized (mLock) { if (mNativeObject != 0) { if (mNativeObject != 0) { nativeDestroy(mNativeObject); nativeDestroy(mNativeObject); } } release(); release(); } } } /** /** * Destroys the HwuiContext without completely * Destroys the HwuiContext without completely Loading Loading
core/java/android/view/Surface.java +5 −3 Original line number Original line Diff line number Diff line Loading @@ -341,11 +341,13 @@ public class Surface implements Parcelable { */ */ @UnsupportedAppUsage @UnsupportedAppUsage public void destroy() { public void destroy() { synchronized (mLock) { if (mNativeObject != 0) { if (mNativeObject != 0) { nativeDestroy(mNativeObject); nativeDestroy(mNativeObject); } } release(); release(); } } } /** /** * Destroys the HwuiContext without completely * Destroys the HwuiContext without completely Loading