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.
This commit is contained in:
Pavel Grafov
2017-02-02 12:41:20 +00:00
parent 2f1b2d82ca
commit 739cda8f31

View 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();