@SuppressWarnings("unused") public void onEventMainThread(SyncStatusRequestEvent event) { SyncStatusResponseEvent status = SyncStatusResponseEvent.IDLE; if (sSyncAdapter != null) { status = sSyncAdapter.getStatus(); } if (status == null) status = SyncStatusResponseEvent.UNKNOWN; postStatus(this, status); }
@Override public IBinder onBind(Intent intent) { return sSyncAdapter.getSyncAdapterBinder(); }