From: Damyan Ivanov Date: Sat, 12 Jan 2019 06:21:15 +0000 (+0000) Subject: avoid endless recursion in set_option_value(String, long) X-Git-Tag: v0.3~60 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=45bd1484a44e557c8bbb881d25c9450b81bdbed5;p=mobile-ledger.git avoid endless recursion in set_option_value(String, long) --- diff --git a/app/src/main/java/net/ktnx/mobileledger/utils/MLDB.java b/app/src/main/java/net/ktnx/mobileledger/utils/MLDB.java index f4cfa619..393392c3 100644 --- a/app/src/main/java/net/ktnx/mobileledger/utils/MLDB.java +++ b/app/src/main/java/net/ktnx/mobileledger/utils/MLDB.java @@ -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,