PhoneWindowManager: remove some io from syncronized block

these instances of I/O do not need to be syncronized with the main thread
so call them before to reduce overhead/delay

ps2: don't getInt on updatesettings() for mHomeWakeScreen unless hardware keys are enabled

Change-Id: Ibe92ae7a6c79e447e1571e4f8bf23a547365f241
active D: a few fixes

ps1: make sure receivers are only registered when the setting is active
ps2: combine make sure mNotification is set properly
ps3: make active D not shownotification if it's for an incoming call
ps4: cleanup

Change-Id: I69930a1495cb4fa5e7daa91dde951c097b15fb2f
Fix crash in systemui caused by disabling AD. *facepalm*

Change-Id: Ibf417b30dab18c70198dc72784c2f1d2021a04c4