From b13e827e4c33696af0f91c62e88ee7b8b56fc9e0 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Sat, 27 Apr 2019 20:36:53 +0300 Subject: [PATCH] O is the android version with app shortcuts --- .../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 88cc39d0..e2857a18 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 @@ -331,7 +331,7 @@ public class MainActivity extends ProfileThemedActivity { } } private void createShortcuts() { - if (Build.VERSION.SDK_INT < Build.VERSION_CODES.N) return; + if (Build.VERSION.SDK_INT < Build.VERSION_CODES.O) return; List shortcuts = new ArrayList<>(); try (LockHolder ignored = Data.profiles.lockForReading()) { -- 2.39.5