mTargetState = targetState;
return doneFlag;
if (localLOGV) Log.i(TAG, "Storage state changed from " + oldState + " to " + newState); synchronized (this) { if (mTargetState.equals(newState)) { doneFlag = true; notifyAll(); } }