From 45bd1484a44e557c8bbb881d25c9450b81bdbed5 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Sat, 12 Jan 2019 06:21:15 +0000 Subject: [PATCH] avoid endless recursion in set_option_value(String, long) --- app/src/main/java/net/ktnx/mobileledger/utils/MLDB.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.39.5