hmm-umm / Android-LockScreenSample-DisableHomeButtonKey

Android LockScreen Sample Using Service - Disable HomeButton or HomeKey
Apache License 2.0
460 stars 126 forks source link

about memory usage #7

Closed zhhaohp closed 7 years ago

zhhaohp commented 7 years ago

Memory usage has been increased when call lock screnn,and will not be reduced when unlock, what can I do

hmm-umm commented 7 years ago

Hi~

I think lockscreen call context Reference problem. Use application context instead of Activity context.

Thanks~