public synchronized int getProgress() {return mIndeterminate ? 0 : mProgress;}

public synchronized int getProgress ( ) { return mIndeterminate ? 0 : mProgress ; }
public virtual int getProgress(){lock (this){return mIndeterminate ? 0 : mProgress;}}
