public class SettingUtils extends Object
Constructor and Description |
---|
SettingUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
disableAutoLogin(android.content.Context ctx)
Disable auto login for the current account and persist the change
|
static String |
getLanguage(android.content.Context context) |
static String |
getPrefsLanguage(android.content.Context context) |
static void |
modifySharedPerf(android.content.Context context) |
static void |
persistServerSetting(android.content.Context context)
Utility to persist server configuration after adding new server to server
list Only saves domain index to shared pref
|
static void |
setDefaultLanguage(android.content.Context context) |
static void |
setLocale(android.content.Context mContext,
String localize) |
public static void setLocale(android.content.Context mContext, String localize)
public static String getLanguage(android.content.Context context)
public static String getPrefsLanguage(android.content.Context context)
public static void setDefaultLanguage(android.content.Context context)
public static void persistServerSetting(android.content.Context context)
context
- public static void modifySharedPerf(android.content.Context context)
public static void disableAutoLogin(android.content.Context ctx)
ctx
- Copyright © 2003–2016 eXo Platform SAS. All rights reserved.