Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why live wallpaper is much slower than normal viewing? #618

Open
AndroidDeveloperLB opened this issue Nov 26, 2018 · 1 comment
Open

Why live wallpaper is much slower than normal viewing? #618

AndroidDeveloperLB opened this issue Nov 26, 2018 · 1 comment
Labels

Comments

@AndroidDeveloperLB
Copy link

AndroidDeveloperLB commented Nov 26, 2018

Suppose I use this gif:

gif.zip

Here's how well it works on live wallpaper, vs on Activity:

videos.zip

How come?
I've tested other solutions of showing GIF/WEBP animation, and they also had the same issue.

@AndroidDeveloperLB
Copy link
Author

BTW, I think some of the code of the live wallpaper isn't needed.
It seems that "mainJob" isn't needed, and so does "onSurfaceCreated" .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants