Ignore rotations while the view is not yet attached

Fixes: 191227230
Fixes: 198988927
Test: atest SystemUITests

Change-Id: I813d631fd3a5ccf98010f5a114e702208839714e
Merged-In: I813d631fd3a5ccf98010f5a114e702208839714e
(cherry picked from commit 08fcb4dc9aec0f5351fbaf24227074710c373bbd)
2 files changed