diff options
| author | Christopher Tate <ctate@google.com> | 2019-08-19 16:16:20 -0700 |
|---|---|---|
| committer | Christopher Tate <ctate@google.com> | 2020-02-05 12:32:21 -0800 |
| commit | 38567a6051bbc38041048fa36f5e83ac00adba70 (patch) | |
| tree | a5c837d85f6aee99b7d14c922c3edc0d3ea3df91 /core/java/android | |
| parent | 01f94b7cc053049a472481f457593d895ad9eca0 (diff) | |
DO NOT MERGE - Kill apps outright for API contract violations
...rather than relying on in-app code to perform the shutdown.
Bug: 128649910
Bug: 140108616
Test: manual
Test: atest OsHostTests#testForegroundServiceBadNotification
Change-Id: I94d9de50bb03c33666471e3dbd9c721e9278f7cb
Merged-In: I94d9de50bb03c33666471e3dbd9c721e9278f7cb
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/app/IActivityManager.aidl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/app/IActivityManager.aidl b/core/java/android/app/IActivityManager.aidl index 48ca71690a1b..c0c63555b10a 100644 --- a/core/java/android/app/IActivityManager.aidl +++ b/core/java/android/app/IActivityManager.aidl @@ -287,7 +287,8 @@ interface IActivityManager { void handleApplicationStrictModeViolation(in IBinder app, int penaltyMask, in StrictMode.ViolationInfo crashInfo); boolean isTopActivityImmersive(); - void crashApplication(int uid, int initialPid, in String packageName, int userId, in String message); + void crashApplication(int uid, int initialPid, in String packageName, int userId, + in String message, boolean force); @UnsupportedAppUsage String getProviderMimeType(in Uri uri, int userId); // Cause the specified process to dump the specified heap. |
