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

Commit b034aa71 authored by Mark Hansen's avatar Mark Hansen Committed by Automerger Merge Worker
Browse files

Merge "Move LayerType @ViewDebug.Exported annotation from private field to...

Merge "Move LayerType @ViewDebug.Exported annotation from private field to public method" into main am: 5314b091 am: 9a1e4632 am: f5e5b53e

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2724953



Change-Id: I47ce4fcfc887c1d2489870269688cc0fbb42f3d9
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 47a6a47f f5e5b53e
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -5318,11 +5318,6 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
    @Retention(RetentionPolicy.SOURCE)
    public @interface LayerType {}
    @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;
@@ -22507,6 +22502,11 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
            @EnumEntry(value = LAYER_TYPE_SOFTWARE, name = "software"),
            @EnumEntry(value = LAYER_TYPE_HARDWARE, name = "hardware")
    })
    @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")
    })
    @LayerType
    public int getLayerType() {
        return mLayerType;