]> git.ktnx.net Git - mobile-ledger.git/commitdiff
O is the android version with app shortcuts
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 27 Apr 2019 17:36:53 +0000 (20:36 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 27 Apr 2019 17:36:53 +0000 (20:36 +0300)
app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java

index 88cc39d0c03f6ae25134ea879d31403e6a7cef35..e2857a18e97d3e867580b59aaec4607cdd5b1022 100644 (file)
@@ -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<ShortcutInfo> shortcuts = new ArrayList<>();
         try (LockHolder ignored = Data.profiles.lockForReading()) {