Fix issue where fast 180 degree landscape rotation is not detected.

- Cleaned up imports in InCallActivity.
- Added new OrientationEventListener to listen for orientation changes
to the device.  This listener returns the current device rotation in
degrees.  Use the windowManager to get the current display rotation (e.g.
in coarse 90 degree, 180, etc).
- This solves the problem - can now detect rotation from landscape to
landscape.

Bug: 20727115
Change-Id: I14450e628a7cf7230821a9f3c2d31c6a50f01170
2 files changed
tree: 994568be7ad3bce759e73a67441877ddfe892d58
  1. InCallUI/