commit | 2a9f3b8811983968acd360682dfde188db453164 | [log] [tgz] |
---|---|---|
author | Artur Satayev <satayev@google.com> | Tue Dec 10 17:47:55 2019 +0000 |
committer | Artur Satayev <satayev@google.com> | Thu Jan 09 15:20:16 2020 +0000 |
tree | 1a88c70cdcc13e7d083d6e95993be8ef4c8edaee | |
parent | 07dcca55fc93fff29fe342eafc2e94d1e3addba1 [diff] [blame] |
Use new UnsupportedAppUsage annotation. Existing annotations in libcore/ and frameworks/ will deleted after the migration. This also means that any java library that compiles @UnsupportedAppUsage requires a direct dependency on "unsupportedappusage" java_library. Bug: 145132366 Test: m && diff unsupportedappusage_index.csv Change-Id: I8ffa1da1bcd43c25f4ff817575db77a33c0f3d31 Merged-In: I8ffa1da1bcd43c25f4ff817575db77a33c0f3d31
diff --git a/core/java/com/android/internal/util/Preconditions.java b/core/java/com/android/internal/util/Preconditions.java index 3fff5c2..5bc96d8 100644 --- a/core/java/com/android/internal/util/Preconditions.java +++ b/core/java/com/android/internal/util/Preconditions.java
@@ -18,7 +18,7 @@ import android.annotation.IntRange; import android.annotation.NonNull; -import android.annotation.UnsupportedAppUsage; +import android.compat.annotation.UnsupportedAppUsage; import android.text.TextUtils; import java.util.Collection;