Loading core/java/android/view/View.java +4 −2 Original line number Diff line number Diff line Loading @@ -15742,8 +15742,10 @@ public class View implements Drawable.Callback, KeyEvent.Callback, return; } // Destroy any previous software drawing cache if needed if (mLayerType == LAYER_TYPE_SOFTWARE) { if (layerType != LAYER_TYPE_SOFTWARE) { // Destroy any previous software drawing cache if present // NOTE: even if previous layer type is HW, we do this to ensure we've cleaned up // drawing cache created in View#draw when drawing to a SW canvas. destroyDrawingCache(); } Loading
core/java/android/view/View.java +4 −2 Original line number Diff line number Diff line Loading @@ -15742,8 +15742,10 @@ public class View implements Drawable.Callback, KeyEvent.Callback, return; } // Destroy any previous software drawing cache if needed if (mLayerType == LAYER_TYPE_SOFTWARE) { if (layerType != LAYER_TYPE_SOFTWARE) { // Destroy any previous software drawing cache if present // NOTE: even if previous layer type is HW, we do this to ensure we've cleaned up // drawing cache created in View#draw when drawing to a SW canvas. destroyDrawingCache(); }