Skip to content
Commit 3a982ee1 authored by Josh Tsuji's avatar Josh Tsuji
Browse files

Don't return true for controlling screen off once we've already returned false for this sleep.

This was resulting in a weird partial screen off animation, as it started returning true part of the way through the screen off.

Also, check whether the panel is expanded OR in the process of expanding, so that the animation is disabled in both cases.

Fixes: 192477275
Test: screen off w/ shade expanded, also in landscape
Change-Id: I2939c8f7734db09f99fed6a31939d3d5c15812f3
parent a52ca6db
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