ProfileInstallerInitializer
public class ProfileInstallerInitializer implements Initializer
Startup library initializer that installs an AOT profile several seconds after launch. During application startup this will schedule background profile installation several seconds later. At the scheduled time, a background thread will be created to install the profile. You can disable this initializer and call writeProfile yourself to control the threading behavior. To disable this initializer add the following to your manifest:
writeProfile is called within a few (5-10) seconds of your app starting up.
Summary
Nested types |
|---|
public class ProfileInstallerInitializer.ResultEmpty result class for ProfileInstaller. |
Public constructors |
|---|
Public methods |
|
|---|---|
@NonNull ProfileInstallerInitializer.Result |
|
@NonNull List<Class<Initializer<@NonNull ?>>> |
Initializer has no dependencies. |
Public constructors
Public methods
create
public @NonNull ProfileInstallerInitializer.Result create(@NonNull Context context)
| Returns | |
|---|---|
@NonNull ProfileInstallerInitializer.Result |
Result immediately. |
dependencies
public @NonNull List<Class<Initializer<@NonNull ?>>> dependencies()
Initializer has no dependencies.