diff options
| author | Mathew Inwood <mathewi@google.com> | 2018-08-17 14:56:00 +0100 |
|---|---|---|
| committer | Mathew Inwood <mathewi@google.com> | 2018-08-20 10:04:42 +0100 |
| commit | a570dee97792289f88613f7ffb4b4866e65bf674 (patch) | |
| tree | 69cec34f1554ee2e5cd4c89d46d7cf8eb9ba1265 /core/java/android/view/WindowInsets.java | |
| parent | 4464d0c7a2e537b2f24947b879d9f35a063a7477 (diff) | |
Add @UnsupportedAppUsage annotations
For packages:
android.view.textservice
android.view.textclassifier.logging
android.view.textclassifier
android.view.inputmethod
android.view.autofill
android.view.accessibility
android.view
This is an automatically generated CL. See go/UnsupportedAppUsage
for more details.
Exempted-From-Owner-Approval: Mechanical changes to the codebase
which have been approved by Android API council and announced on
android-eng@
Bug: 110868826
Test: m
Change-Id: I4147b038ed7adf0311ee9918b44766f82a057eaf
Diffstat (limited to 'core/java/android/view/WindowInsets.java')
| -rw-r--r-- | core/java/android/view/WindowInsets.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/java/android/view/WindowInsets.java b/core/java/android/view/WindowInsets.java index fbd8141ae27a..8628da374930 100644 --- a/core/java/android/view/WindowInsets.java +++ b/core/java/android/view/WindowInsets.java @@ -18,6 +18,7 @@ package android.view; import android.annotation.Nullable; +import android.annotation.UnsupportedAppUsage; import android.graphics.Rect; import com.android.internal.util.Preconditions; @@ -69,6 +70,7 @@ public final class WindowInsets { * since it would allow them to inadvertently consume unknown insets by returning it. * @hide */ + @UnsupportedAppUsage public static final WindowInsets CONSUMED; static { @@ -115,6 +117,7 @@ public final class WindowInsets { } /** @hide */ + @UnsupportedAppUsage public WindowInsets(Rect systemWindowInsets) { this(systemWindowInsets, null, null, false, false, null); } @@ -124,6 +127,7 @@ public final class WindowInsets { * to the existing fitSystemWindows method and other similar internals. * @hide */ + @UnsupportedAppUsage public Rect getSystemWindowInsets() { if (mTempRect == null) { mTempRect = new Rect(); @@ -578,6 +582,7 @@ public final class WindowInsets { * * @hide pending API */ + @UnsupportedAppUsage public WindowInsets inset(int left, int top, int right, int bottom) { Preconditions.checkArgumentNonnegative(left); Preconditions.checkArgumentNonnegative(top); |
