Add deviceGoingToSleep param to WindowWakeUpPolicy delegate
We are adding this param to allow wake up delegates to decide to potentially ignore a wake up event that they think happened unintentionally. An example is a Wear OS device, where an unintended touch of the rotary input during a palm-screen-off event may negate the screen-off sequence. Bug: 400790919 Test: atest WindowWakeUpPolicyTests Flag: EXEMPT param addition only, trivial Change-Id: I4ef3c8a3178b3bf7c4e2b60b9fe41ba32cbd0102
Loading
Please register or sign in to comment