Bug
Bug
On Marshmallow, you have to give Lightning Launcher “Draw over other apps” permission in the System/Apps settings to be able to use a floating desktop.
Without this permission, LL aborts when you try to display a floating desktop.
However, LL doesn’t prompt the user to set that permission, so it’s not obvious what the user should do to prevent the abort.
This is weird, in the floating desktop settings screen the very first menu item is “Setup – The overlay desktop requires the permission to draw over other apps”. All other settings are disabled until the permission is not granted. Do you mean this menu item is not shown ?
I didn’t have to set up the floating desktop. It was imported from my previous (Lollipop) phone to a new MM phone.
That makes sense, but in that case the floating desktop should simply be disabled. The permission is always checked before to start the floating desktop, I tested this on the emulator and a real device as well. The only hypothesis I have is that another associated permission is needed on your device, for an unknown reason. Since Android sometimes doesn’t display unitary permissions but a group of permissions under a single name, this could explain why LL fails to correctly check whether it has the right to use some feature.
By chance, would you have the possibility to issue the following adb command from a PC please ?
adb shell dumpsys package net.pierrox.lightning_launcher_extreme
(twice, before and after having granted this “Draw over other apps” permission)
As it happens, I installed adb last week to try to deal with a completely seperate issue, so that shouldn’t be a problem, when I get a chance.
I have already granted Draw over Apps (that’s how I know what the problem was), but can certainly disable it temporarily for troubleshooting (and test LL with it disabled to see if it behaves the same, in case granting Draw over other apps – or something else – has had a side effect).