From b3394bc5a257d43931c3ba126274dcb0e3b5d8e2 Mon Sep 17 00:00:00 2001 From: Anton Hansson Date: Wed, 31 Mar 2021 11:08:00 +0100 Subject: [PATCH] Partial cp of "Prepare role code for modularization." This keeps MainThread building against core_current. Test: m framework-annotations-lib Merged-In: I74f20b37d23370e258e7fc7130e28c5312abf46c Change-Id: Iaa9833a5615c80b58e64975d4f0f0e38a5e76a3e --- core/java/android/annotation/MainThread.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/core/java/android/annotation/MainThread.java b/core/java/android/annotation/MainThread.java index 556fdb4e7742d..a070246e5ef3b 100644 --- a/core/java/android/annotation/MainThread.java +++ b/core/java/android/annotation/MainThread.java @@ -21,8 +21,6 @@ import static java.lang.annotation.ElementType.PARAMETER; import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.SOURCE; -import android.os.Looper; - import java.lang.annotation.Retention; import java.lang.annotation.Target; @@ -40,8 +38,7 @@ import java.lang.annotation.Target; * * * - * @memberDoc This method must be called from the - * {@linkplain Looper#getMainLooper() main thread} of your app. + * @memberDoc This method must be called from the main thread of your app. * @hide */ @Retention(SOURCE)