Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cbf77e9b authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change I875200fe into eclair

* changes:
  Another fix for #2186897: Cannot unlock the device by swiping
parents b10e2f1a f2ddfb15
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -721,11 +721,14 @@ public abstract class KeyInputQueue {
                                        // virtual key area...  but still
                                        // propagate this to the previous
                                        // data for comparisons.
                                        int num = ms.mNextNumPointers;
                                        if (num > InputDevice.MAX_POINTERS) {
                                            num = InputDevice.MAX_POINTERS;
                                        }
                                        System.arraycopy(ms.mNextData, 0,
                                                ms.mLastData, 0,
                                                ms.mNextNumPointers
                                                        * MotionEvent.NUM_SAMPLE_DATA);
                                        ms.mLastNumPointers = ms.mNextNumPointers;
                                                num * MotionEvent.NUM_SAMPLE_DATA);
                                        ms.mLastNumPointers = num;
                                    }
                                    
                                    ms.finish();