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
Loading
Please register or sign in to comment