Merge "Only wakeup device for dismiss keyguard when dream activity is on top." into tm-dev