Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9052c23f authored by Martijn Coenen's avatar Martijn Coenen
Browse files

Add @NonNull annotation to ZygotePreload API.

Bug: 126701453
Test: builds
Change-Id: I27d71120788de443e59d54eda62188da4ccb4a8b
parent 9ab22eae
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6487,7 +6487,7 @@ package android.app {
  }
  public interface ZygotePreload {
    method public void doPreload(android.content.pm.ApplicationInfo);
    method public void doPreload(@NonNull android.content.pm.ApplicationInfo);
  }
}
+3 −3
Original line number Diff line number Diff line
@@ -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);
}