aboutsummaryrefslogtreecommitdiffstats
path: root/java-overridable/src/com/android/inputmethod/latin/define
diff options
context:
space:
mode:
authorSandeep Siddhartha <sansid@google.com>2014-10-09 16:41:25 -0700
committerSandeep Siddhartha <sansid@google.com>2014-10-10 16:03:54 -0700
commitd9015233f50724294bb408f1c56715a581dc4bed (patch)
treee9609fa9518fb442a48996e134d845a90cb69aba /java-overridable/src/com/android/inputmethod/latin/define
parent1e10d29bc8975ea45ca5e3bdf1936aa418161bcb (diff)
downloadlatinime-d9015233f50724294bb408f1c56715a581dc4bed.tar.gz
latinime-d9015233f50724294bb408f1c56715a581dc4bed.tar.xz
latinime-d9015233f50724294bb408f1c56715a581dc4bed.zip
Set up a sync preference and policy for syncing [2]
- Adds a preference for enabling sync, which controls the sync behavior - Make the ProductionFlags depend on appropriate flags to guarantee that we don't mess things when flipping some flags - Preferences now control the "syncable" property of the provider thereby controlling the policy and when this entry shows up in system settings. Bug: 17464069 Change-Id: I1d58351188518c1ae9f1f9e147b5ea15d32a3427
Diffstat (limited to 'java-overridable/src/com/android/inputmethod/latin/define')
-rw-r--r--java-overridable/src/com/android/inputmethod/latin/define/ProductionFlags.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java-overridable/src/com/android/inputmethod/latin/define/ProductionFlags.java b/java-overridable/src/com/android/inputmethod/latin/define/ProductionFlags.java
index 10fc612e7..99b958952 100644
--- a/java-overridable/src/com/android/inputmethod/latin/define/ProductionFlags.java
+++ b/java-overridable/src/com/android/inputmethod/latin/define/ProductionFlags.java
@@ -46,5 +46,5 @@ public final class ProductionFlags {
/**
* When {@code true}, personal dictionary sync feature is ready to be enabled.
*/
- public static final boolean ENABLE_PERSONAL_DICTIONARY_SYNC = false;
+ public static final boolean ENABLE_PERSONAL_DICTIONARY_SYNC = ENABLE_ACCOUNT_SIGN_IN && false;
}