diff options
| author | 2022-12-02 00:43:56 +0000 | |
|---|---|---|
| committer | 2022-12-02 13:54:45 +0000 | |
| commit | 635422be3e0e02b7221633b2eb1b112fc18bb65e (patch) | |
| tree | 35f14ed0d38563b8777c539863bb6bb4791b3393 /services/surfaceflinger/SurfaceFlinger.cpp | |
| 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
Diffstat (limited to 'services/surfaceflinger/SurfaceFlinger.cpp')
0 files changed, 0 insertions, 0 deletions