Does it get released automatically if the process didn’t released before it was killed?
Does it get released automatically if the process didn’t released before it was killed?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The wakelock is released if Process is killed. You can check this by below method
Acquire a wakelock and then run
kill the process from ddms. Again run dumpsys power
You can see that the mlocks.size is back to 0.