diff options
author | Matthew Ng <ngmatthew@google.com> | 2018-03-14 12:26:14 -0700 |
---|---|---|
committer | Matthew Ng <ngmatthew@google.com> | 2018-03-14 14:25:07 -0700 |
commit | 22cf514632be69a46e72eaa6b54fdccbfd1da589 (patch) | |
tree | 3c0f0b4900783328a7fcb9157efe41d86c2e193f /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 2ea93b708dbc49235b42e76a587d5f353638040f (diff) |
Fixes crash on navbar using 3rd party launchers
When using a 3rd party launcher, the touch service
connection from pixel launcher and system ui is
disconnecting causing the nav bar to crash when
tapping it because onTouchIntercept returns true
from a NavigationBarView and handles the
onTouchEvent that does not check for a valid
connection. Check for a valid connection to
launcher service in onTouchEvent and before
proxying data to prevent the crash.
Fixes: 74726495
Test: change to 3rd party launcher press nav bar
Change-Id: I6f7efe78599b0829fd90aa0436463e77ec51f634
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions