Throw IllegalArgumentException for takeScreenshot() am: 0ad1f82733

Change-Id: I29acbb61aa3e0b1660223fa686b4d847c560ff70