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

AppErrorResult

public class AppErrorResult extends Object

Fields Summary
boolean
mHasResult
int
mResult
Constructors Summary
Methods Summary
public intget()

        synchronized (this) {
            while (!mHasResult) {
                try {
                    wait();
                } catch (InterruptedException e) {
                }
            }
        }
        return mResult;
    
public voidset(int res)

        synchronized (this) {
            mHasResult = true;
            mResult = res;
            notifyAll();
        }