@Override
              public void onClick(View view) {
                startActivity(getLaunchIntentActionScanBarcode(AuthenticatorActivity.this, false));
                if (bottomSheetDialog != null) {
                  bottomSheetDialog.dismiss();
                }
              }
Invoked when a context menu/action bar item is clicked/tapped.

@return {@code true} if the event was consumed, {@code false} otherwise.
java/com/google/android/apps/authenticator/AuthenticatorActivity.java