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

Commit d064e58f authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Handle multithreading in ActiveGestureLog" into main

parents 5f6f4b43 cb8b3f27
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -23,6 +23,7 @@ import com.android.launcher3.util.Preconditions;
import java.io.PrintWriter;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.List;
import java.util.Locale;
@@ -237,7 +238,8 @@ public class ActiveGestureLog {
    /** An entire log of entries associated with a single log ID */
    protected static class EventLog {

        protected final List<EventEntry> eventEntries = new ArrayList<>();
        protected final List<EventEntry> eventEntries =
                Collections.synchronizedList(new ArrayList<>());
        protected final int logId;
        protected final boolean mIsFullyGesturalNavMode;