Rework Active Display Again

Some changes take from OmniRoms and AOSPAL