Making notification width dependent on orientation instead of rotation

Notification width was calculated based on rotation with the assumption that no rotation means portrait. That's true for phones, but for bigger screens no rotation (aka natural orientation) can be also landscape. In that case width is adjusted incorrectly, this change makes it dependent on orientation instead.

Fixes: 192498450
Test: manual
Change-Id: I21271c67052a69f0e4d2dc76dba9b147d34aa4cb
1 file changed