Skip to content
Commit 0c090460 authored by Robin Lee's avatar Robin Lee
Browse files

WakefulenessLifecycle: start out as AWAKE for NFFs

WakefulessLifecycle is driven by KeyguardService, which doesn't always
exist. When it doesn't exist, mWakefulness will remain set to
WAKEFULNESS_ASLEEP, which prevents some UI bits from showing up. The
most important one to fix is VolumeDialogControllerImpl.

We also need to set the default value of mDeviceInteractive to true
since the callback will never come on a device without a keyguard
service.

Test: atest SystemUITests
Fix: 190357428
Change-Id: Ib4f67e756c9549d919ec8ae640abca044d7d651f
parent ed08ff82
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment