Skip to content
Commit 9b8724c7 authored by Michael Wright's avatar Michael Wright
Browse files

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
parent ecde4d08
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment