Notify Accessibilty about rotation in applyRotation
There were multiple places where WM could notify accessibility about
rotation. This was causing issues where some edge cases would prevent WM
from notifying accessibility. Instead, just notify accessibility when
the rotation is getting applied regardless of what animation ran or
didn't. This makes it clear that accessibility will be notified after
any rotation occurs on WM side.
Bug: 152537982
Bug: 152610840
Test: 1. Go to an app and turn on magnification bounds
2. Rotate the screen to landscape
3. Lock the screen
4. Unlock the screen. App should be back in portrait
5. Press magnify button
Change-Id: If6019b1e9be178774f0c22a30657e6c3bae27d61
2 files changed