diff options
| author | 2019-01-25 22:22:09 -0800 | |
|---|---|---|
| committer | 2019-01-25 22:22:09 -0800 | |
| commit | 1786b3373fa070887462dca5e4a7ce6162d2f89b (patch) | |
| tree | c7997399705caa80e981ac56145f68190c58a8a2 | |
| parent | 8ac0a656a8611653e49c5a3b0520d4f63f02be7a (diff) | |
Removed CrossProfileApps#startAnyActivity API.
Bug: 123338878
Test: atest com.android.server.pm.CrossProfileAppsServiceImplTest
Change-Id: I6240cbcea701d2f844299940688db5272cbfc48c
| -rw-r--r-- | core/java/android/content/pm/CrossProfileApps.java | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/core/java/android/content/pm/CrossProfileApps.java b/core/java/android/content/pm/CrossProfileApps.java index b7366f1bbafc..e897b917fcc2 100644 --- a/core/java/android/content/pm/CrossProfileApps.java +++ b/core/java/android/content/pm/CrossProfileApps.java @@ -18,7 +18,6 @@ package android.content.pm; import android.annotation.NonNull; import android.annotation.RequiresPermission; import android.annotation.SystemApi; -import android.annotation.UnsupportedAppUsage; import android.content.ComponentName; import android.content.Context; import android.content.res.Resources; @@ -77,18 +76,6 @@ public class CrossProfileApps { } /** - * @deprecated use {@link #startActivity(ComponentName, UserHandle)} instead. - * - * @removed - * @hide - */ - @Deprecated - @UnsupportedAppUsage - public void startAnyActivity(@NonNull ComponentName component, @NonNull UserHandle targetUser) { - startActivity(component, targetUser); - } - - /** * Starts the specified activity of the caller package in the specified profile. Unlike * {@link #startMainActivity}, this can start any activity of the caller package, not just * the main activity. |