FileDocCategorySizeDatePackage
AppWidgetService.javaAPI DocAndroid 5.1 API1411Thu Mar 12 22:22:42 GMT 2015com.android.server.appwidget

AppWidgetService

public class AppWidgetService extends com.android.server.SystemService
SystemService that publishes an IAppWidgetService.

Fields Summary
private final AppWidgetServiceImpl
mImpl
Constructors Summary
public AppWidgetService(android.content.Context context)

        super(context);
        mImpl = new AppWidgetServiceImpl(context);
    
Methods Summary
public voidonBootPhase(int phase)

        if (phase == PHASE_THIRD_PARTY_APPS_CAN_START) {
            mImpl.setSafeMode(isSafeMode());
        }
    
public voidonStart()

        publishBinderService(Context.APPWIDGET_SERVICE, mImpl);
        AppWidgetBackupBridge.register(mImpl);