Add an 'am crash' shell command
Induce a normal VM crash via adb, because it's quite different from the effects of 'am kill'. Test: induced crashes via adb shell using both pid & pkg Change-Id: I79654afa7c4a70364cfd7d3af3e80a7b0e59b882
This commit is contained in:
committed by
Chris Tate
parent
4a65687b85
commit
8aa8fe1289
@@ -264,7 +264,7 @@ interface IActivityManager {
|
||||
boolean isImmersive(in IBinder token);
|
||||
void setImmersive(in IBinder token, boolean immersive);
|
||||
boolean isTopActivityImmersive();
|
||||
void crashApplication(int uid, int initialPid, in String packageName, in String message);
|
||||
void crashApplication(int uid, int initialPid, in String packageName, int userId, in String message);
|
||||
String getProviderMimeType(in Uri uri, int userId);
|
||||
IBinder newUriPermissionOwner(in String name);
|
||||
void grantUriPermissionFromOwner(in IBinder owner, int fromUid, in String targetPkg,
|
||||
|
||||
Reference in New Issue
Block a user