Loading core/java/android/app/Application.java +6 −5 Original line number Original line Diff line number Diff line Loading @@ -64,11 +64,12 @@ public class Application extends ContextWrapper implements ComponentCallbacks2 { } } /** /** * Called when the application is starting, before any other application * Called when the application is starting, before any activity, service, * objects have been created. Implementations should be as quick as * or receiver objects (excluding content providers) have been created. * possible (for example using lazy initialization of state) since the time * Implementations should be as quick as possible (for example using * spent in this function directly impacts the performance of starting the * lazy initialization of state) since the time spent in this function * first activity, service, or receiver in a process. * directly impacts the performance of starting the first activity, * service, or receiver in a process. * If you override this method, be sure to call super.onCreate(). * If you override this method, be sure to call super.onCreate(). */ */ public void onCreate() { public void onCreate() { Loading Loading
core/java/android/app/Application.java +6 −5 Original line number Original line Diff line number Diff line Loading @@ -64,11 +64,12 @@ public class Application extends ContextWrapper implements ComponentCallbacks2 { } } /** /** * Called when the application is starting, before any other application * Called when the application is starting, before any activity, service, * objects have been created. Implementations should be as quick as * or receiver objects (excluding content providers) have been created. * possible (for example using lazy initialization of state) since the time * Implementations should be as quick as possible (for example using * spent in this function directly impacts the performance of starting the * lazy initialization of state) since the time spent in this function * first activity, service, or receiver in a process. * directly impacts the performance of starting the first activity, * service, or receiver in a process. * If you override this method, be sure to call super.onCreate(). * If you override this method, be sure to call super.onCreate(). */ */ public void onCreate() { public void onCreate() { Loading