@@ -57,6 +57,9 @@ public class SettingsHelper {
5757 private static final String PREF_KEY_LAST_APP_UPDATE_STATE = ".helpers.LAST_APP_UPDATE_STATE" ;
5858 private static final String PREF_KEY_APP_START_TIME = ".helpers.APP_START_TIME" ;
5959 private static final String PREF_KEY_SATELLITE_COUNT = ".helpers.APP_SATELLITE_COUNT" ;
60+ private static final String PREF_KEY_USER_CUSTOM_1 = ".helpers.USER_CUSTOM_1" ;
61+ private static final String PREF_KEY_USER_CUSTOM_2 = ".helpers.USER_CUSTOM_2" ;
62+ private static final String PREF_KEY_USER_CUSTOM_3 = ".helpers.USER_CUSTOM_3" ;
6063 // This prefix is for the compatibility with a legacy package name
6164 private static String PACKAGE_NAME ;
6265
@@ -265,6 +268,30 @@ public Set<String> getEnrollOptionGroup() {
265268 return sharedPreferences .getStringSet (PACKAGE_NAME + PREF_KEY_GROUP , null );
266269 }
267270
271+ public boolean setUserCustom1 (String userCustom ) {
272+ return sharedPreferences .edit ().putString (PACKAGE_NAME + PREF_KEY_USER_CUSTOM_1 , userCustom ).commit ();
273+ }
274+
275+ public String getUserCustom1 () {
276+ return sharedPreferences .getString (PACKAGE_NAME + PREF_KEY_USER_CUSTOM_1 , null );
277+ }
278+
279+ public boolean setUserCustom2 (String userCustom ) {
280+ return sharedPreferences .edit ().putString (PACKAGE_NAME + PREF_KEY_USER_CUSTOM_2 , userCustom ).commit ();
281+ }
282+
283+ public String getUserCustom2 () {
284+ return sharedPreferences .getString (PACKAGE_NAME + PREF_KEY_USER_CUSTOM_2 , null );
285+ }
286+
287+ public boolean setUserCustom3 (String userCustom ) {
288+ return sharedPreferences .edit ().putString (PACKAGE_NAME + PREF_KEY_USER_CUSTOM_3 , userCustom ).commit ();
289+ }
290+
291+ public String getUserCustom3 () {
292+ return sharedPreferences .getString (PACKAGE_NAME + PREF_KEY_USER_CUSTOM_3 , null );
293+ }
294+
268295 public void updateConfig ( ServerConfig config ) {
269296 try {
270297 ObjectMapper objectMapper = new ObjectMapper ();
0 commit comments