From 739cda8f31e7002724412447140e0b8ae4085c36 Mon Sep 17 00:00:00 2001 From: Pavel Grafov Date: Thu, 2 Feb 2017 12:41:20 +0000 Subject: [PATCH] Fix the documentation for SecurityLog.SecurityEvent.getData(). If the payload contains more than one object, it is passed in Object[]. Change-Id: I28ca2ec35d920c644bdea13f15b2787ef3170310 Fixes: 34871284 Test: Read aloud, sounds good. --- core/java/android/app/admin/SecurityLog.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/java/android/app/admin/SecurityLog.java b/core/java/android/app/admin/SecurityLog.java index 2858991fbdf4d..91b87d74694d4 100644 --- a/core/java/android/app/admin/SecurityLog.java +++ b/core/java/android/app/admin/SecurityLog.java @@ -144,8 +144,7 @@ public class SecurityLog { } /** - * Returns the payload contained in this log. Each call to this method will - * retrieve the next payload item. If no more payload exists, it returns {@code null}. + * Returns the payload contained in this log entry or {@code null} if there is no payload. */ public Object getData() { return mEvent.getData();