FileDocCategorySizeDatePackage
FactoryErrorDialog.javaAPI DocAndroid 5.1 API1680Thu Mar 12 22:22:42 GMT 2015com.android.server.am

FactoryErrorDialog

public final class FactoryErrorDialog extends BaseErrorDialog

Fields Summary
private final android.os.Handler
mHandler
Constructors Summary
public FactoryErrorDialog(android.content.Context context, CharSequence msg)

        super(context);
        setCancelable(false);
        setTitle(context.getText(com.android.internal.R.string.factorytest_failed));
        setMessage(msg);
        setButton(DialogInterface.BUTTON_POSITIVE,
                context.getText(com.android.internal.R.string.factorytest_reboot),
                mHandler.obtainMessage(0));
        WindowManager.LayoutParams attrs = getWindow().getAttributes();
        attrs.setTitle("Factory Error");
        getWindow().setAttributes(attrs);
    
Methods Summary
public voidonStop()