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

Commit 3aaff3ae authored by Romain Guy's avatar Romain Guy
Browse files

Better debug info for layers.

Change-Id: I816c2446a33a1135553eaeea2f89c7418641cfe1
parent 85354828
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;