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

Bug: live wallpaper sample seems to take more CPU, and use it even when screen is turned off #590

Open
AndroidDeveloperLB opened this issue Sep 27, 2018 · 4 comments

Comments

@AndroidDeveloperLB
Copy link

AndroidDeveloperLB commented Sep 27, 2018

Compared to this, it uses more CPU :
https://github.com/huzongyao/AndLibNsgif

And, after making a better code than what they have for viewing GIF (here) and especially pausing it, I got to 0% CPU:

image

, while on "android-gif-drawable" sample of live wallpaper I can see it still uses CPU, even when the screen is turned off :

image

@koral--
Copy link
Owner

koral-- commented Sep 28, 2018

OK, I'll check this. Thanks.

@AndroidDeveloperLB
Copy link
Author

@koral-- I also think their CPU usage is a bit lower (for same file).

@liupengandroid
Copy link

Hello, has this problem been solved? Looking forward to the new version! thank you

@AndroidDeveloperLB
Copy link
Author

@liupengandroid Seems better.
It stops using the CPU while the device screen is turned off, but it takes some time till it resumes.

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

No branches or pull requests

3 participants