more cherry picking from android github
fixes to make wifi priority work-AlmightyMegadeth00
another try at implementing back magnetic targets-Danesh--toggles-screen off and power menu-daxxmax-a couple more cheery picks from android source--ad long press on brightness toggle-daxxmax