Fix start application proc state when screen off

When an app is being started to become a top-app, we granted it
an elevated proc state and sched group so that the UI is snappy.
This behavior should however only apply during screen on.

Fixed the special case.

Test: android.net.wifi.cts.WifiLocationInfoTest
Bug: 253908737
Fixes: 290391152
Change-Id: Iee63d747ec77f58e80c78cebe8298a5efed29aa7
1 file changed