diff options
| author | 2023-08-24 23:23:53 +0000 | |
|---|---|---|
| committer | 2023-08-24 23:23:53 +0000 | |
| commit | 2f78ea5e1d57fcceb67861dec03489e9a4f43bfa (patch) | |
| tree | e4667bfd8117cc8b69cd17ce725740443df7077c | |
| parent | 2d7f26cbdb1b20db65e40fee0e8c5ea8ca99aad8 (diff) | |
| parent | b034aa71910bbba2359eba9cd760c100698fd5f7 (diff) | |
Merge "Move LayerType @ViewDebug.Exported annotation from private field to public method" into main am: 5314b09104 am: 9a1e46321c am: f5e5b53e69 am: b034aa7191
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2724953
Change-Id: Ie9c879220d893bf35af7010cd3f6adc4d58ce532
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| -rw-r--r-- | core/java/android/view/View.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java index b412b44feaca..db0ab211a4b1 100644 --- a/core/java/android/view/View.java +++ b/core/java/android/view/View.java @@ -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; @@ -22516,6 +22511,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; |