Add startActivityAsUser
This commit is contained in:
parent
8a3373bfc3
commit
2eefe094d9
|
|
@ -52,6 +52,17 @@ public interface IActivityManager extends IInterface {
|
|||
IBinder resultTo, String resultWho, int requestCode, int flags,
|
||||
ProfilerInfo profilerInfo, Bundle options) throws RemoteException;
|
||||
|
||||
int startActivityAsUser(IApplicationThread caller, String callingPackage,
|
||||
Intent intent, String resolvedType, IBinder resultTo, String resultWho,
|
||||
int requestCode, int flags, ProfilerInfo profilerInfo,
|
||||
Bundle options, int userId) throws RemoteException;
|
||||
|
||||
@RequiresApi(30)
|
||||
int startActivityAsUserWithFeature(IApplicationThread caller, String callingPackage,
|
||||
String callingFeatureId, Intent intent, String resolvedType,
|
||||
IBinder resultTo, String resultWho, int requestCode, int flags,
|
||||
ProfilerInfo profilerInfo, Bundle options, int userId) throws RemoteException;
|
||||
|
||||
void forceStopPackage(String packageName, int userId);
|
||||
|
||||
boolean startUserInBackground(int userid);
|
||||
|
|
|
|||
Loading…
Reference in New Issue