summaryrefslogtreecommitdiff
path: root/core/java
diff options
context:
space:
mode:
authorMartijn Coenen <maco@google.com>2019-03-01 09:25:43 +0100
committerMartijn Coenen <maco@google.com>2019-03-01 09:25:43 +0100
commit9052c23faef5a29d425eff2424de3264d3a68b72 (patch)
tree8b00d85cbcdf4157b4b46d9fbd65fe38b6fc62a0 /core/java
parent9ab22eae39b6c92a6f22d932d512e10d6d1155d6 (diff)
Add @NonNull annotation to ZygotePreload API.
Bug: 126701453 Test: builds Change-Id: I27d71120788de443e59d54eda62188da4ccb4a8b
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/app/ZygotePreload.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/java/android/app/ZygotePreload.java b/core/java/android/app/ZygotePreload.java
index a295af352c0a..eaaeb5458642 100644
--- a/core/java/android/app/ZygotePreload.java
+++ b/core/java/android/app/ZygotePreload.java
@@ -15,6 +15,7 @@
*/
package android.app;
+import android.annotation.NonNull;
import android.content.pm.ApplicationInfo;
/**
@@ -27,8 +28,7 @@ import android.content.pm.ApplicationInfo;
* {@link android.R.styleable#AndroidManifestService_useAppZygote android:useAppZygote} attribute
* of the &lt;service&gt; tag set to <code>true</code>.
*
- * Note that this implementations of this class must provide a default constructor with no
- * arguments.
+ * Note that implementations of this class must provide a default constructor with no arguments.
*/
public interface ZygotePreload {
/**
@@ -38,5 +38,5 @@ public interface ZygotePreload {
*
* @param appInfo The ApplicationInfo object belonging to the application
*/
- void doPreload(ApplicationInfo appInfo);
+ void doPreload(@NonNull ApplicationInfo appInfo);
}