FileDocCategorySizeDatePackage
AppWaitingForDebuggerDialog.javaAPI DocAndroid 1.5 API2343Wed May 06 22:42:00 BST 2009com.android.server.am

AppWaitingForDebuggerDialog

public class AppWaitingForDebuggerDialog extends BaseErrorDialog

Fields Summary
final ActivityManagerService
mService
final ProcessRecord
mProc
private CharSequence
mAppName
private final android.os.Handler
mHandler
Constructors Summary
public AppWaitingForDebuggerDialog(ActivityManagerService service, android.content.Context context, ProcessRecord app)

        super(context);
        mService = service;
        mProc = app;
        mAppName = context.getPackageManager().getApplicationLabel(app.info);

        setCancelable(false);

        StringBuilder text = new StringBuilder();
        if (mAppName != null && mAppName.length() > 0) {
            text.append("Application ");
            text.append(mAppName);
            text.append(" (process ");
            text.append(app.processName);
            text.append(")");
        } else {
            text.append("Process ");
            text.append(app.processName);
        }

        text.append(" is waiting for the debugger to attach.");

        setMessage(text.toString());
        setButton("Force Close", mHandler.obtainMessage(1, app));
        setTitle("Waiting For Debugger");
        getWindow().setTitle("Waiting For Debugger: " + app.info.processName);
    
Methods Summary
public voidonStop()