| commit | 635422be3e0e02b7221633b2eb1b112fc18bb65e | [log] [tgz] |
|---|---|---|
| author | Michael Wright <michaelwr@google.com> | Fri Dec 02 00:43:56 2022 +0000 |
| committer | Michael Wright <michaelwr@google.com> | Fri Dec 02 13:54:45 2022 +0000 |
| tree | 35f14ed0d38563b8777c539863bb6bb4791b3393 | |
| parent | a9cf419caeebb019a6ca39fd43aab69f0956ae85 [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: I27076edcc6ce33594552863caa8ee643027a81e7