Loading core/java/android/content/pm/CrossProfileApps.java +0 −13 Original line number Diff line number Diff line Loading @@ -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; Loading Loading @@ -76,18 +75,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 Loading Loading
core/java/android/content/pm/CrossProfileApps.java +0 −13 Original line number Diff line number Diff line Loading @@ -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; Loading Loading @@ -76,18 +75,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 Loading