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

Commit ea371229 authored by Tao Bao's avatar Tao Bao Committed by android-build-merger
Browse files

Merge "minui: Fix the wrong move of the callback."

am: aefc9e3b

Change-Id: I2bdfb43f7d161de8cda635a48547db15ce05438c
parents d4f28312 aefc9e3b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -97,7 +97,7 @@ int ev_init(ev_callback input_cb, bool allow_touch_inputs) {
      }

      ev_fdinfo[ev_count].fd = fd;
      ev_fdinfo[ev_count].cb = std::move(input_cb);
      ev_fdinfo[ev_count].cb = input_cb;
      ev_count++;
      ev_dev_count++;
      if (ev_dev_count == MAX_DEVICES) break;