docs: public static boolean show(final Activity activity) {
          final SharedPreferences preferences = activity.getSharedPreferences(PREFERENCES_EULA,
                  Activity.MODE_PRIVATE);
          if (!preferences.getBoolean(PREFERENCE_EULA_ACCEPTED, false)) {
              final AlertDialog.Builder builder = new AlertDialog.Builder(activity);
              builder.setTitle("License");
              builder.setCancelable(true);
              builder.setPositiveButton("Accept", new DialogInterface.OnClickListener() {
                  public void onClick(DialogInterface dialog, int which) {
                      accept(preferences);
                      if (activity instanceof OnEulaAgreedTo) {
                          ((OnEulaAgreedTo) activity).onEulaAgreedTo();
                      }
                  }
              });
              builder.setNegativeButton("Refuse", new DialogInterface.OnClickListener() {
                  public void onClick(DialogInterface dialog, int which) {
                      refuse(activity);
                  }
              });
              builder.setOnCancelListener(new DialogInterface.OnCancelListener() {
                  public void onCancel(DialogInterface dialog) {
                      refuse(activity);
                  }
              });
              builder.setMessage(readEula(activity));
              builder.create().show();
              return false;
          }
          return true;
      }