OpenLauncherTeam / openlauncher

Customizable and Open Source Launcher for Android
Apache License 2.0
1.41k stars 413 forks source link

Gestures are not forwarded to livewallpapers #531

Open phanirithvij opened 4 years ago

phanirithvij commented 4 years ago

General Information

Description

I'm using Muzei live wallpaper as my wallpaper and I use their double-tap gesture to change the wallpaper. I didn't touch the default open launcher gesture for double-tap i.e. it is still None.

Now, the double-tap gesture does not affect the live wallpaper. Whereas this works in many of the other launchers like the default android launcher, Lawnchair, Evie, Microsoft Launcher, Nova Launcher, etc..

I'm guessing either this was not implemented or the gestures are intentionally being stopped from interfering with the app's gestures.

If this needs to be implemented I think Lawnchair can be of use as it is opensource.

phanirithvij commented 4 years ago

I implemented a simple example to do it after looking at what Launcher3 does. Please integrate this into your launcher. I think it's a useful feature.

Edit: Made some more changes BasicLauncher.zip Github URL here

dkanada commented 4 years ago

The last time I looked at the code this should have been working, it must not be implemented correctly or something.

phanirithvij commented 4 years ago

Can you point out where it is being handled in the code?

phanirithvij commented 4 years ago

@dkanada

dkanada commented 4 years ago

I just checked and didn't see anything, maybe it was removed at some point.