added changes to allow screencasting on chromecast

Change-Id: Ia7b4d836afdeb3c0b375634b71fd84be847e792b