OSDN Git Service

Proper autofill fix to let phone process autofill Settings activity.
[android-x86/frameworks-base.git] / core / java / android / app / ActivityManagerInternal.java
index c8d9839..9dceb7f 100644 (file)
@@ -268,4 +268,9 @@ public abstract class ActivityManagerInternal {
      * @param token The IApplicationToken for the activity
      */
     public abstract void setFocusedActivity(IBinder token);
+
+    /**
+     * Returns {@code true} if {@code uid} is running an activity from {@code packageName}.
+     */
+    public abstract boolean hasRunningActivity(int uid, @Nullable String packageName);
 }