Wait for fade-to-black to finish before stopping display updates
Wait for fade-to-black to finish before stopping display updates

Hammerhead devices a) ignore display brightness changes if display
updates are disabled b) leave the display backlight powered on if
effective brightness is not zero at suspend time.

Wait for fade-to-black brightness change to finish before telling
compositor to stop display updates.

[mce] Wait for fade-to-black to finish before stopping display updates. Fixes JB#21833

kimmoli/mce,mikkoharju/mce,android-808/mce,mlehtima/mce,maikelwever/mce,mikkoharju/mce,android-808/mce,spiiroin/mce,maikelwever/mce,spiiroin/mce,kimmoli/mce,mlehtima/mce,kimmoli/mce,mlehtima/mce,mlehtima/mce,mikkoharju/mce,kimmoli/mce,mikkoharju/mce,maikelwever/mce,maikelwever/mce,android-808/mce,android-808/mce,spiiroin/mce,spiiroin/mce