avoid endless recursion in set_option_value(String, long)
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 12 Jan 2019 06:21:15 +0000 (06:21 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 12 Jan 2019 06:21:15 +0000 (06:21 +0000)
app/src/main/java/net/ktnx/mobileledger/utils/MLDB.java

index f4cfa619fc5aafc66015db2f58f2d1c176af54d6..393392c3514f0193167c389e8faa30090326e72c 100644 (file)
@@ -125,7 +125,7 @@ public final class MLDB {
                 new String[]{NO_PROFILE, name, value});
     }
     static public void set_option_value(String name, long value) {
-        set_option_value(name, value);
+        set_option_value(name, String.valueOf(value));
     }
     @TargetApi(Build.VERSION_CODES.N)
     public static void hook_autocompletion_adapter(final Context context,