d4rken-org / sdmaid

SD Maid is an Android app that helps you manage files and apps.
https://play.google.com/store/apps/details?id=eu.thedarken.sdm
1.52k stars 745 forks source link

QuickAccess Screen doesn't stay on #320

Closed geocfu closed 8 years ago

geocfu commented 8 years ago

With the lattest update, when the Databases tool is operating (e.g scaning and deleting the databases) my screen goes dark (not off) and opens again but in the lockscreen.

d4rken commented 8 years ago

The Databases tool doesn't delete databases, it executes SQL VACUUM.

What was on screen while it went dark, the Databases tool?

Edit: NVM the quickaccess page was open right?

geocfu commented 8 years ago

i was on the quickaccess page.

d4rken commented 8 years ago

Codewise, I have taken the necessary staps and asked for "SCREEN_ON". This didn't change with the latest update, was this working before?

geocfu commented 8 years ago

Yes my screen before was always on. Never had that issue.

d4rken commented 8 years ago

Tried it on 3 of my devices and the screen stayed on, maybe something is wrong with your device?

geocfu commented 8 years ago

I re-installed the app and the unlocker and this issue is still present. Do you need a logcat?

geocfu commented 8 years ago

It happens both when all of the tools are running from QuickAccess and when database tool is operating alone but from the QuickAccess screen. While it optizizes the databases the screen goes dark and then back at lockscreen. Note that if i open the Databases tab from the slide menu this does not happen.

d4rken commented 8 years ago

Then it's solved :).

screen goes dark and then back at lockscreen

That's the important part. This is a symptom of #325 . The launcher and or system UI is killed which throws the app back to the lockscreen. The fix for #325 should also fix this.