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

Commit 854fc457 authored by Romain Guy's avatar Romain Guy Committed by The Android Open Source Project
Browse files

am 7fe416e9: Fix bug in saving gestures stores. The outputstream was wrapping...

am 7fe416e9: Fix bug in saving gestures stores. The outputstream was wrapping itself, thus causing huge problems.

Merge commit '7fe416e9'

* commit '7fe416e9':
  Fix bug in saving gestures stores. The outputstream was wrapping itself, thus causing huge problems.
parents fd06bc8d 7fe416e9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -228,8 +228,8 @@ public class GestureStore {

            final HashMap<String, ArrayList<Gesture>> maps = mNamedGestures;

            out = new DataOutputStream((stream instanceof BufferedOutputStream) ? out :
                    new BufferedOutputStream(out, GestureConstants.IO_BUFFER_SIZE));
            out = new DataOutputStream((stream instanceof BufferedOutputStream) ? stream :
                    new BufferedOutputStream(stream, GestureConstants.IO_BUFFER_SIZE));
            // Write version number
            out.writeShort(FILE_FORMAT_VERSION);
            // Write number of entries