NPE guard in setupViewport

 Bug: 4163660

Change-Id: Ie74072094c0dbfca4391cf898420544884101c1f
1 file changed