LayoutLib: move asserts around.

Change-Id: I6fcfcf2e6fad1d9fa172b9a8c20c72fa2533e7fa
1 file changed