docs: public static void setReplicationsPending(Context context, Class<? extends
          PeriodicReplicationService> prsClass, boolean pending) {
          SharedPreferences prefs = context.getSharedPreferences(PREFERENCES_FILE_NAME, Context
              .MODE_PRIVATE);
          SharedPreferences.Editor editor = prefs.edit();
          editor.putBoolean(constructKey(prsClass, REPLICATIONS_PENDING_SUFFIX), pending);
          editor.apply();
      }