diff --git a/app/src/main/java/net/typeblog/shelter/ui/AppListFragment.java b/app/src/main/java/net/typeblog/shelter/ui/AppListFragment.java index 345190c..d368382 100644 --- a/app/src/main/java/net/typeblog/shelter/ui/AppListFragment.java +++ b/app/src/main/java/net/typeblog/shelter/ui/AppListFragment.java @@ -300,7 +300,8 @@ public class AppListFragment extends Fragment { } else { // TODO: Maybe implement this for launchers without pin shortcut support? // TODO: Should be the same with the fallback for Android < O - throw new RuntimeException("unimplemented"); + // for now just show unsupported + Toast.makeText(getContext(), getString(R.string.unsupported_launcher), Toast.LENGTH_LONG).show(); } } else { // TODO: Maybe backport for Android < O? diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index da90cdc..cf9dc4e 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -29,5 +29,6 @@ Application "%s" unfrozen successfully Cannot clone system apps to a profile that Shelter has no control of. Cannot uninstall system apps in a profile that Shelter has no control of. + Cannot add shortcuts to your launcher. Please contact the developer for more information. Operations for %s