Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0ce49783 authored by Romain Guy's avatar Romain Guy Committed by Android Git Automerger
Browse files

am e25ed181: am 26dd54f8: Merge "Ensure we have an EGL context when building...

am e25ed181: am 26dd54f8: Merge "Ensure we have an EGL context when building layers Bug #5638421" into ics-mr1

* commit 'e25ed181':
  Ensure we have an EGL context when building layers Bug #5638421
parents 468996c5 e25ed181
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -10196,7 +10196,11 @@ public class View implements Drawable.Callback, Drawable.Callback2, KeyEvent.Cal
        switch (mLayerType) {
            case LAYER_TYPE_HARDWARE:
                if (mAttachInfo.mHardwareRenderer != null &&
                        mAttachInfo.mHardwareRenderer.isEnabled() &&
                        mAttachInfo.mHardwareRenderer.validate()) {
                    getHardwareLayer();
                }
                break;
            case LAYER_TYPE_SOFTWARE:
                buildDrawingCache(true);