diff options
| author | Aurimas Liutikas <aurimas@google.com> | 2019-02-06 16:05:15 -0800 |
|---|---|---|
| committer | Aurimas Liutikas <aurimas@google.com> | 2019-02-06 16:05:15 -0800 |
| commit | 1e47d35a960bf974a277a3cab0ed09405f739a74 (patch) | |
| tree | b15682d7419d65a9556ae4ecfb2de874eb19b01d /core/java/android/view/RemotableViewMethod.java | |
| parent | abb20bebd637c6b282c22dc8992100561181d58a (diff) | |
Make android.view.RemotableViewMethod annotation @TestApi
This method is needed in CTS to test RemoteView behavior.
Bug: 72044662
Test: existing android.widget.cts.RemoteViewsTest
Change-Id: I8ca0ae151604062e5ecd58dc66c04103c351224b
Diffstat (limited to 'core/java/android/view/RemotableViewMethod.java')
| -rw-r--r-- | core/java/android/view/RemotableViewMethod.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/java/android/view/RemotableViewMethod.java b/core/java/android/view/RemotableViewMethod.java index 03aed9a53925..5eff848e85aa 100644 --- a/core/java/android/view/RemotableViewMethod.java +++ b/core/java/android/view/RemotableViewMethod.java @@ -16,6 +16,8 @@ package android.view; +import android.annotation.TestApi; + import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; @@ -26,6 +28,7 @@ import java.lang.annotation.Target; * This annotation indicates that a method on a subclass of View * is alllowed to be used with the {@link android.widget.RemoteViews} mechanism. */ +@TestApi @Target({ ElementType.METHOD }) @Retention(RetentionPolicy.RUNTIME) public @interface RemotableViewMethod { |
