@Override
    protected void onPause() {
        super.onPause();
        unbindService(mServiceConnection);
        finish();
    }
Override to implement custom error handling.
customtabs/src/android/support/customtabs/trusted/ManageDataLauncherActivity.java