summaryrefslogtreecommitdiff
path: root/core/java/android/app/IntentService.java
diff options
context:
space:
mode:
authorArtur Satayev <satayev@google.com>2019-12-10 17:47:51 +0000
committerArtur Satayev <satayev@google.com>2019-12-18 16:37:37 +0000
commitc895b1b4501c9c94d9b300aca8546abe526cea53 (patch)
treeb6a80161cc17653986a709dbbab6af7c5570ed5e /core/java/android/app/IntentService.java
parent4ffb4846817f5abb99ea2a205b5162a6a8f75b32 (diff)
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: I8789f8499d4dca08580672e9e45ed9a7026dd686
Diffstat (limited to 'core/java/android/app/IntentService.java')
-rw-r--r--core/java/android/app/IntentService.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/app/IntentService.java b/core/java/android/app/IntentService.java
index 74fb99a0909f..71b28fba6019 100644
--- a/core/java/android/app/IntentService.java
+++ b/core/java/android/app/IntentService.java
@@ -16,9 +16,9 @@
package android.app;
-import android.annotation.UnsupportedAppUsage;
-import android.annotation.WorkerThread;
import android.annotation.Nullable;
+import android.annotation.WorkerThread;
+import android.compat.annotation.UnsupportedAppUsage;
import android.content.Intent;
import android.os.Handler;
import android.os.HandlerThread;