diff options
| author | Mathew Inwood <mathewi@google.com> | 2019-02-06 15:12:50 +0000 |
|---|---|---|
| committer | Mathew Inwood <mathewi@google.com> | 2019-02-06 16:58:38 +0000 |
| commit | 556d3a6fdbe2ae8454b2de4113cd95b588b286d0 (patch) | |
| tree | f4a26d6098f4338b66a20e746f1a2da55fc0fb24 /core/java | |
| parent | f9a25e52fc602aedfc94e879b677ff377bd91b3d (diff) | |
Move setTarget() to max-sdk-o greylist.
This method was on the dark grey list in P. It was removed sometime in
the meantime, and re-added in commit 01053cd, but put onto the grey list
rather then the max-sdk-o greylist (equivalent to dark grey in P).
Move it back as we should not be making API less restrictive in new
letter releases.
Test: m
Bug: 123987101
Change-Id: I5ec57e6523f2d0881e0e4e5597009fc2717bfb85
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/view/RenderNodeAnimator.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/view/RenderNodeAnimator.java b/core/java/android/view/RenderNodeAnimator.java index 78ad0dabc81a..1dbc46b3e883 100644 --- a/core/java/android/view/RenderNodeAnimator.java +++ b/core/java/android/view/RenderNodeAnimator.java @@ -24,6 +24,7 @@ import android.graphics.CanvasProperty; import android.graphics.Paint; import android.graphics.RecordingCanvas; import android.graphics.RenderNode; +import android.os.Build; import android.util.SparseIntArray; import com.android.internal.util.VirtualRefBasePtr; @@ -282,7 +283,7 @@ public class RenderNodeAnimator extends Animator { throw new UnsupportedOperationException(); } - @UnsupportedAppUsage + @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.O) public void setTarget(View view) { mViewTarget = view; setTarget(mViewTarget.mRenderNode); |
