示例#1
0
  /** Forces the native graphics thread to redraw to the canvas. */
  public static boolean redrawGraphics() {
    synchronized (JniInterface.class) {
      if (!sConnected || sRedrawCallback == null) return false;
    }

    nativeScheduleRedraw();
    return true;
  }