Exit hibernation when usage is detected

Potentially leave hibernation if usage is detected. We already leave
whenever we exit force-stop, but in case the states get out of sync,
this guarantees that apps don't get "stuck" in the hibernated state.

Bug: 185511307
Test: atest AppHibernationServiceTest
Change-Id: Iaff873b203ff18002927bec60c346e3fa7288b4e
2 files changed