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

Commit e465b117 authored by Romain Guy's avatar Romain Guy Committed by Android (Google) Code Review
Browse files

Merge "Better debug info for layers." into honeycomb

parents 54c38bf0 3aaff3ae
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -2226,7 +2226,11 @@ public class View implements Drawable.Callback, KeyEvent.Callback, Accessibility
     */
    public static final int LAYER_TYPE_HARDWARE = 2;
    
    @ViewDebug.ExportedProperty(category = "drawing")
    @ViewDebug.ExportedProperty(category = "drawing", mapping = {
            @ViewDebug.IntToString(from = LAYER_TYPE_NONE, to = "NONE"),
            @ViewDebug.IntToString(from = LAYER_TYPE_SOFTWARE, to = "SOFTWARE"),
            @ViewDebug.IntToString(from = LAYER_TYPE_HARDWARE, to = "HARDWARE")
    })
    int mLayerType = LAYER_TYPE_NONE;
    Paint mLayerPaint;