OSDN Git Service

Fix the documentation for SecurityLog.SecurityEvent.getData().
authorPavel Grafov <pgrafov@google.com>
Thu, 2 Feb 2017 12:41:20 +0000 (12:41 +0000)
committerPavel Grafov <pgrafov@google.com>
Thu, 2 Feb 2017 12:47:53 +0000 (12:47 +0000)
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

index 2858991..91b87d7 100644 (file)
@@ -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();