summaryrefslogtreecommitdiff
path: root/core/java
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2019-03-06 15:21:34 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2019-03-06 15:21:34 +0000
commit4e6d0182c782d7dbadc3a2e35ed483b4469b6b53 (patch)
treed8dcbb1fcab3cc316cd5f998885c19d89f4d9218 /core/java
parentb4a3fae998ece526ce40a390bde9b86514de90ee (diff)
parent9052c23faef5a29d425eff2424de3264d3a68b72 (diff)
Merge "Add @NonNull annotation to ZygotePreload API."
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);
}