From: Damyan Ivanov Date: Sat, 27 Apr 2019 17:36:53 +0000 (+0300) Subject: O is the android version with app shortcuts X-Git-Tag: v0.10.0~69 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=b13e827e4c33696af0f91c62e88ee7b8b56fc9e0;p=mobile-ledger.git O is the android version with app shortcuts --- 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()) {