@Override public IBinder onBind(Intent intent) { boolean firstRunNecessary = FirstRunFlowSequencer.checkIfFirstRunIsNecessary(getApplicationContext(), false) != null; if (firstRunNecessary) return null; mConnection = CustomTabsConnection.getInstance(getApplication()); mConnection.logCall("Service#onBind()", true); return super.onBind(intent); }
@Override public boolean onUnbind(Intent intent) { super.onUnbind(intent); if (mConnection != null) mConnection.logCall("Service#onUnbind()", true); return false; // No support for onRebind(). }