Do not wake the device if an activity starts while dozing.

Currently, if the dream wakes without any user activity, the screen will
turn off. We therefore swap to using requestAwakenInternal, which will
keep the screen on by triggering a user activity.

CTS tests disable dozing, so this is hard to verify in dream cts tests. Looks like we don't have good coverage for doze service.

Bug: 231521765
Test: manually on device
Test: atest DreamManagerServiceTestsi

Change-Id: I23ac50fded164377ef8b5ea28fb030f4312bbb3d
1 file changed