amirzaidi / Launcher3

The Launcher3 fork known as "Rootless Pixel Launcher"
Other
3.81k stars 642 forks source link

App Shortcuts not working on 7.0 #583

Open murthy-desala opened 5 years ago

murthy-desala commented 5 years ago

Hi

I have integrated app shortcut(static) in my application and works fine in 7.1 versions of android, but when I look the same in 7 version of android its not working. This is happening only when I check with Rootless pixel launcher. If i check with nova launcher then shorcuts are working in both 7 and 7.1 versions. Can you please let me know whether I have to add any other things to make the shorcut visible for 7.0 versions when I use rootless pixel launcher?

Regards Murthy

nattaylor commented 5 years ago

@murthy-desala did you ever get anywhere on this? I want it too! I've noticed app shortcuts don't work for many apps.

I found the commit where he backported them: https://github.com/amirzaidi/Launcher3/commit/7acd65e7088ee8b076bce653f9bf25a719e66039

It looks like it involves some hateful XML parsing, which might be error prone (though I am just guessing!)

@amirzaidi is it worth trying to troubleshoot this or do you think it is more of a fundamental incompatibility? Where would I start?

Here's what I found on my 7.0 for the Google apps.

Has Dynamic Shortcuts:

*Note: some are missing; e.g. I think Phone is supposed to also display shortcuts for frequently contacted

No Dynamic Shortcuts: