diff options
| author | Torne (Richard Coles) <torne@google.com> | 2021-04-27 13:58:49 -0400 |
|---|---|---|
| committer | Torne (Richard Coles) <torne@google.com> | 2021-04-27 13:58:49 -0400 |
| commit | 83d73c2eb491cc29a3a62770781923feb2da4f64 (patch) | |
| tree | 2abd4043a13a573b258ef63ae97e4e98a5d1bde7 /core/java/android/webkit/WebViewDelegate.java | |
| parent | d1d54a14efe55c7eb242e006cabce637afafa497 (diff) | |
Document WebViewDelegate.getTimestamps() better.
Specify that the values are @ElapsedRealtimeLong and document the
entries in the array via the index constants.
Fixes: 184786485
Bug: 184026615
Test: n/a
Change-Id: I26e3df80e79b14d2301e28da93f7814bc67bdb6a
Diffstat (limited to 'core/java/android/webkit/WebViewDelegate.java')
| -rw-r--r-- | core/java/android/webkit/WebViewDelegate.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/java/android/webkit/WebViewDelegate.java b/core/java/android/webkit/WebViewDelegate.java index c7eac6c72936..6b4956982d5f 100644 --- a/core/java/android/webkit/WebViewDelegate.java +++ b/core/java/android/webkit/WebViewDelegate.java @@ -16,6 +16,7 @@ package android.webkit; +import android.annotation.ElapsedRealtimeLong; import android.annotation.NonNull; import android.annotation.Nullable; import android.annotation.SystemApi; @@ -226,6 +227,7 @@ public final class WebViewDelegate { * WebViewChromiumFactoryProvider#create method was invoked. */ @NonNull + @ElapsedRealtimeLong public long[] getTimestamps() { return WebViewFactory.getTimestamps(); } |
