@Override public void resume() { if (handler != null && mDrawThread != null && handler.isPrepared()) handler.resume(); else { restart(); } }
@Override public void resume() { if (handler != null && handler.isPrepared()) handler.resume(); else if (handler == null) { restart(); } }