commit | 1672549d9f05c2a0bfb600b8f36738ffd40120ca | [log] [tgz] |
---|---|---|
author | TreeHugger Robot <treehugger-gerrit@google.com> | Thu Feb 15 00:28:32 2018 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Thu Feb 15 00:28:32 2018 +0000 |
tree | be5592fafba130d01ee690abffaa81b18c83fba7 | |
parent | 51fc778eea837179d2f09c5cd363b340896b6c23 [diff] | |
parent | 1e9da8b5aa88299fa60699c5e06fe06758721090 [diff] |
Merge "Fixing crash when window is not attached" into ub-launcher3-master
diff --git a/quickstep/src/com/android/quickstep/TouchInteractionService.java b/quickstep/src/com/android/quickstep/TouchInteractionService.java index 75fd78e..9c5e942 100644 --- a/quickstep/src/com/android/quickstep/TouchInteractionService.java +++ b/quickstep/src/com/android/quickstep/TouchInteractionService.java
@@ -251,7 +251,7 @@ @Override public void accept(MotionEvent ev) { - if (!mTarget.getWindowId().isFocused()) { + if (!mTarget.hasWindowFocus()) { return; } int action = ev.getActionMasked();