DO NOT MERGE - Kill apps outright for API contract violations
...rather than relying on in-app code to perform the shutdown. Backport of security fix. Bug: 128649910 Bug: 140108616 Test: manual Test: atest OsHostTests#testForegroundServiceBadNotification [basilgello: back-port to 14.1: - core/java/android/app/IActivityManager.aidl -> core/java/android/app/IActivityManager.java, - no serviceForegroundCrash in services/core/java/com/android/server/am/ActiveServices.java, - no runCrash in services/core/java/com/android/server/am/ActivityManagerShellCommand.java, - add argument to ActivityManagerProxy, - no mNotificationLock and ForegroundService, - adjust args count (remove '-1') in killMisbehavingService] Signed-off-by: Vasyl Gello <vasek.gello@gmail.com> Change-Id: I94d9de50bb03c33666471e3dbd9c721e9278f7cb Merged-In: I94d9de50bb03c33666471e3dbd9c721e9278f7cb (cherry picked from commit a79b6ba5)
Loading
Please register or sign in to comment