Skip to content
Commit 93b3c57a authored by Michael Wright's avatar Michael Wright Committed by Siarhei Vishniakou
Browse files

Make PointerLocationView more resilient.

Right now it crashes if we miss an up event since the active pointer
won't get reset. We can't just clear this in onDetachedFromWindow
because of how it gets drawn in system_server, so instead we just check
before using the active pointer.

Bug: 109779280
Test: put settings into split screen, frequently enable / disable
      Pointer Location while tapping in another app window. See that it
      doesn't crash.
Change-Id: If2b1f3157574c962b24115b0ecf0a27feec8e84c
parent eb3c80bf
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