Rework Active Display Again (2/2)

Some changes take from OmniRoms and AOSPAL