From b07b13cf3d152eef70d50cc553c1fc44006a0f45 Mon Sep 17 00:00:00 2001 From: Jing Ji Date: Tue, 7 Mar 2023 09:27:50 -0800 Subject: [PATCH] Update the java doc for the ActivityManager#killBackgroundProcesses Hide the security patch level for now. Bug: 270049349 Test: m offline-sdk-docs Change-Id: I0c1671c3854c7f81cb93c5fcd19e59d6865f2a78 --- core/java/android/app/ActivityManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/java/android/app/ActivityManager.java b/core/java/android/app/ActivityManager.java index 3c792a3ef5f9d..b4068dbf07979 100644 --- a/core/java/android/app/ActivityManager.java +++ b/core/java/android/app/ActivityManager.java @@ -4208,8 +4208,8 @@ public class ActivityManager { * processes to reclaim memory; the system will take care of restarting * these processes in the future as needed. * - *

On devices with a {@link Build.VERSION#SECURITY_PATCH} of 2023-08-01 or - * greater, third party applications can only use this API to kill their own processes. + *

On devices that run Android 14 or higher, + * third party applications can only use this API to kill their own processes. *

* * @param packageName The name of the package whose processes are to