commit | 9b8724c719997669913b0ccdfb8859d9468b9700 | [log] [tgz] |
---|---|---|
author | Michael Wright <michaelwr@google.com> | Fri Dec 02 00:45:06 2022 +0000 |
committer | Michael Wright <michaelwr@google.com> | Fri Dec 02 15:10:57 2022 +0000 |
tree | 31874b0d9eccb25e24a38778855653ce14b75f53 | |
parent | ecde4d0883489c2d157f8168cab840f024f1519e [diff] |
Convert MotionEvent#getSurfaceRotation to ui::Rotation Because it might have an invalid rotation it needs to return std::optional<ui::Rotation>, but at least we're using the types effectively here. Test: compiles Change-Id: Ib8bd1cf5c1d910c08fa9ff2a8bb7c74f7c51a71d