wifi direct and screen cast fix

Change-Id: Iaa3070595d18d428591184fa1c38ed4b5935209c