Loading core/java/android/view/View.java +17 −0 Original line number Diff line number Diff line Loading @@ -13145,6 +13145,23 @@ public class View implements Drawable.Callback, KeyEvent.Callback, invalidate(true); invalidateParentCaches(); } else if (info != null && info.mHardwareRenderer != null) { // If fall into this path, means the hardware render has // already been disabled. Destroy it in a safely context // to avoid random UI corruption info.mHardwareRenderer.safelyRun(new Runnable() { @Override public void run() { mHardwareLayer.destroy(); mHardwareLayer = null; if (mDisplayList != null) { mDisplayList.reset(); } invalidate(true); invalidateParentCaches(); } }); } return true; } Loading Loading
core/java/android/view/View.java +17 −0 Original line number Diff line number Diff line Loading @@ -13145,6 +13145,23 @@ public class View implements Drawable.Callback, KeyEvent.Callback, invalidate(true); invalidateParentCaches(); } else if (info != null && info.mHardwareRenderer != null) { // If fall into this path, means the hardware render has // already been disabled. Destroy it in a safely context // to avoid random UI corruption info.mHardwareRenderer.safelyRun(new Runnable() { @Override public void run() { mHardwareLayer.destroy(); mHardwareLayer = null; if (mDisplayList != null) { mDisplayList.reset(); } invalidate(true); invalidateParentCaches(); } }); } return true; } Loading