Merge "Fixing crash when window is not attached" into ub-launcher3-master
This commit is contained in:
commit
1672549d9f
1 file changed
+1
-1
@@ -251,7 +251,7 @@ public class TouchInteractionService extends Service {
|
||||
|
||||
@Override
|
||||
public void accept(MotionEvent ev) {
|
||||
if (!mTarget.getWindowId().isFocused()) {
|
||||
if (!mTarget.hasWindowFocus()) {
|
||||
return;
|
||||
}
|
||||
int action = ev.getActionMasked();
|
||||
|
||||
Reference in new issue
Block a user