From e0e1009820f114d1f179c8d167d679788087be46 Mon Sep 17 00:00:00 2001 From: Michal Karpinski Date: Wed, 30 Mar 2016 15:02:26 +0100 Subject: [PATCH] Adjusting javadocs for process logging Informing the pre-reboot logs may be empty and specifying that base APK hash is logged. Bug: 27896341 Change-Id: I9011f6f6ebd0e20e5a4be86f6c5d33094212cc3d --- core/java/android/app/admin/DevicePolicyManager.java | 2 +- core/java/android/app/admin/SecurityLog.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/java/android/app/admin/DevicePolicyManager.java b/core/java/android/app/admin/DevicePolicyManager.java index e7427bfabe016..efd092da5d072 100644 --- a/core/java/android/app/admin/DevicePolicyManager.java +++ b/core/java/android/app/admin/DevicePolicyManager.java @@ -5897,7 +5897,7 @@ public class DevicePolicyManager { *

* The device logs are retrieved from a RAM region which is not guaranteed to be * corruption-free during power cycles, due to hardware variations and limitations. As a result, - * this API is provided as best-effort and the returned logs may contain corrupted + * this API is provided as best-effort and the returned logs may be empty or contain corrupted * data. *

* There must be only one user on the device, managed by the device owner. Otherwise a diff --git a/core/java/android/app/admin/SecurityLog.java b/core/java/android/app/admin/SecurityLog.java index 001a81de7d805..2858991fbdf4d 100644 --- a/core/java/android/app/admin/SecurityLog.java +++ b/core/java/android/app/admin/SecurityLog.java @@ -67,7 +67,7 @@ public class SecurityLog { * information about the process encapsulated in an {@link Object} array, accessible via * {@link SecurityEvent#getData()}: * process name (String), exact start time (long), app Uid (integer), app Pid (integer), - * seinfo tag (String), SHA-256 hash of the APK in hexadecimal (String) + * seinfo tag (String), SHA-256 hash of the base APK in hexadecimal (String) */ public static final int TAG_APP_PROCESS_START = SecurityLogTags.SECURITY_APP_PROCESS_START; /**