From d3c4d97302db96e1aeef4e31f49593cbb13acb3b Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Sat, 19 Oct 2019 12:22:38 +0300 Subject: [PATCH] Re-enable app shortcuts on android 7.1+ (Nougat++) was wrongly requiring android 8 (oreo) --- .../java/net/ktnx/mobileledger/ui/activity/MainActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java b/app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java index 793e0061..9d9ad10d 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java @@ -309,7 +309,7 @@ public class MainActivity extends ProfileThemedActivity { } } private void createShortcuts(List list) { - if (Build.VERSION.SDK_INT < Build.VERSION_CODES.O) return; + if (Build.VERSION.SDK_INT < Build.VERSION_CODES.N_MR1) return; List shortcuts = new ArrayList<>(); int i = 0; -- 2.39.5