com.google.android.play.core.appupdate.AppUpdateManager Java Examples

The following examples show how to use com.google.android.play.core.appupdate.AppUpdateManager. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ActivityModule.java    From VoIpUSSD with Apache License 2.0 4 votes vote down vote up
@Provides
@ActivityScope
public AppUpdateManager provideAppUpdateManager() {
    return AppUpdateManagerFactory.create(mActivity);
}
 
Example #2
Source File: CommcareFlexibleAppUpdateManager.java    From commcare-android with Apache License 2.0 4 votes vote down vote up
/**
 * callback {@link Runnable} to notify when update state changes.
 */
CommcareFlexibleAppUpdateManager(Runnable callback, AppUpdateManager appUpdateManager) {
    this.mCallback = callback;
    this.mAppUpdateManager = appUpdateManager;
    mAppUpdateState = null;
}