| commit | b35a6b26467ef7cd5f3bb6bf8890ee60eec0b2c9 | [log] [tgz] |
|---|---|---|
| author | Michal Brzezinski <brzezinski@google.com> | Fri Jul 02 13:46:42 2021 +0100 |
| committer | Michal Brzezinski <brzezinski@google.com> | Fri Jul 02 13:54:07 2021 +0100 |
| tree | cc0084ab442467ccaf40eb084ed25d616db8d79d | |
| parent | 32fd2556202a39b7e905159600fab9a67b2f9080 [diff] |
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