blob: de9a77d9d18e946fcd3423f848c34b2984d2aa57 [file] [log] [blame]
package com.bumptech.glide.manager;
/**
* A {@link com.bumptech.glide.manager.Lifecycle} implementation for tracking and notifying listeners of
* {@link android.app.Application} lifecycle events.
*
* <p>
* Since there are essentially no {@link android.app.Application} lifecycle events, this class simply defaults to
* notifying new listeners that they are started.
* </p>
*/
class ApplicationLifecycle implements Lifecycle {
@Override
public void addListener(LifecycleListener listener) {
listener.onStart();
}
}