Fix gmail crash.
Change-Id: I009d44fce36e365e915b2ecbdfd94fdcee40adf8
This commit is contained in:
@@ -4590,7 +4590,7 @@ public class WebView extends AbsoluteLayout
|
||||
// user has touched a layer.
|
||||
float gestureX = x;
|
||||
float gestureY = y;
|
||||
if (!detector.isInProgress()) {
|
||||
if (detector == null || !detector.isInProgress()) {
|
||||
// The gesture for scrolling a layer is two fingers close together.
|
||||
// FIXME: we may consider giving WebKit an option to handle
|
||||
// multi-touch events later.
|
||||
|
||||
Reference in New Issue
Block a user