Add startActivity
This commit is contained in:
parent
384681bbb8
commit
8a3373bfc3
|
|
@ -42,6 +42,16 @@ public interface IActivityManager extends IInterface {
|
|||
String resultData, Bundle map, String[] requiredPermissions,
|
||||
int appOp, Bundle options, boolean serialized, boolean sticky, int userId) throws RemoteException;
|
||||
|
||||
int startActivity(IApplicationThread caller, String callingPackage, Intent intent,
|
||||
String resolvedType, IBinder resultTo, String resultWho, int requestCode,
|
||||
int flags, ProfilerInfo profilerInfo, Bundle options) throws RemoteException;
|
||||
|
||||
@RequiresApi(30)
|
||||
int startActivityWithFeature(IApplicationThread caller, String callingPackage,
|
||||
String callingFeatureId, Intent intent, String resolvedType,
|
||||
IBinder resultTo, String resultWho, int requestCode, int flags,
|
||||
ProfilerInfo profilerInfo, Bundle options) throws RemoteException;
|
||||
|
||||
void forceStopPackage(String packageName, int userId);
|
||||
|
||||
boolean startUserInBackground(int userid);
|
||||
|
|
|
|||
|
|
@ -0,0 +1,23 @@
|
|||
/*
|
||||
* This file is part of LSPosed.
|
||||
*
|
||||
* LSPosed is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* LSPosed is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with LSPosed. If not, see <https://www.gnu.org/licenses/>.
|
||||
*
|
||||
* Copyright (C) 2021 LSPosed Contributors
|
||||
*/
|
||||
|
||||
package android.app;
|
||||
|
||||
public class ProfilerInfo {
|
||||
}
|
||||
Loading…
Reference in New Issue