Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 25526010 authored by Varun Shah's avatar Varun Shah Committed by Android (Google) Code Review
Browse files

Merge "Removed CrossProfileApps#startAnyActivity API."

parents 3ffd2c30 1786b337
Loading
Loading
Loading
Loading
+0 −13
Original line number Diff line number Diff line
@@ -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;
@@ -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