Add cloud sync setting to SettingsValues.
Bug: 19573092 Change-Id: I41174188743c8a78facebff547e378a2b467a8c7main
parent
52dafe8c32
commit
93205b17ff
|
@ -81,6 +81,7 @@ public class SettingsValues {
|
||||||
public final boolean mSlidingKeyInputPreviewEnabled;
|
public final boolean mSlidingKeyInputPreviewEnabled;
|
||||||
public final int mKeyLongpressTimeout;
|
public final int mKeyLongpressTimeout;
|
||||||
public final boolean mEnableEmojiAltPhysicalKey;
|
public final boolean mEnableEmojiAltPhysicalKey;
|
||||||
|
public final boolean mCloudSyncEnabled;
|
||||||
public final boolean mEnableMetricsLogging;
|
public final boolean mEnableMetricsLogging;
|
||||||
public final boolean mShouldShowLxxSuggestionUi;
|
public final boolean mShouldShowLxxSuggestionUi;
|
||||||
// Use split layout for keyboard.
|
// Use split layout for keyboard.
|
||||||
|
@ -172,6 +173,7 @@ public class SettingsValues {
|
||||||
mPlausibilityThreshold = Settings.readPlausibilityThreshold(res);
|
mPlausibilityThreshold = Settings.readPlausibilityThreshold(res);
|
||||||
mGestureInputEnabled = Settings.readGestureInputEnabled(prefs, res);
|
mGestureInputEnabled = Settings.readGestureInputEnabled(prefs, res);
|
||||||
mGestureTrailEnabled = prefs.getBoolean(Settings.PREF_GESTURE_PREVIEW_TRAIL, true);
|
mGestureTrailEnabled = prefs.getBoolean(Settings.PREF_GESTURE_PREVIEW_TRAIL, true);
|
||||||
|
mCloudSyncEnabled = prefs.getBoolean(LocalSettingsConstants.PREF_ENABLE_CLOUD_SYNC, false);
|
||||||
mAccount = prefs.getString(LocalSettingsConstants.PREF_ACCOUNT_NAME,
|
mAccount = prefs.getString(LocalSettingsConstants.PREF_ACCOUNT_NAME,
|
||||||
null /* default */);
|
null /* default */);
|
||||||
mGestureFloatingPreviewTextEnabled = !mInputAttributes.mDisableGestureFloatingPreviewText
|
mGestureFloatingPreviewTextEnabled = !mInputAttributes.mDisableGestureFloatingPreviewText
|
||||||
|
|
Loading…
Reference in New Issue