michelelacorte / FlickLauncher

Pixel Launcher for everyone!
Apache License 2.0
290 stars 78 forks source link

Request: support new shortcut API of Android O #58

Open AndroidDeveloperLB opened 7 years ago

AndroidDeveloperLB commented 7 years ago

I see this launcher doesn't support Android O. Please update it to be able to handle shortcuts :

https://developer.android.com/guide/topics/ui/shortcuts.html#pinned

Currently, the launcher cannot create a shortcut on Android O from a third party app. Not by itself, not from Play Store, and not from third party apps.

And, to make this app special and above others, please consider the next features for it:

  1. allow to choose if we wish to put adaptive icons or normal ones
  2. allow to trust apps that requested the creation, including a list of trusted apps. The list (which is empty by default and the user can customize) will allow those apps to create shortcuts in the background. Apps that aren't on the list will cause a dialog to be shown, just like on Pixel Launcher.
  3. Allow to choose if we want to put the tiny icon (at the corner of the app icon) of the app that requested to create it. On Pixel Launcher it is shown by default and you can't change it.
  4. In case of multiple requests of shortcuts, allow to have a single dialog that shows a list of them, allowing to accept creation of all, none, or specific ones.
  5. Add option to always update the app icon upon app-update. The reason I ask for this, is that the new API doesn't allow to do it, if I as a developer choose to create a shortcut to another app. Only available options for me are having a resource of my own for the image, or choose a Bitmap object, which has its own content.