Ignore rotations while the view is not yet attached

Fixes: 191227230
Test: atest SystemUITests

Change-Id: I813d631fd3a5ccf98010f5a114e702208839714e
2 files changed