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

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

Merge "Fix NPE in CombinedMessageQueue." into main

parents eddf0372 f90e0258
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -126,7 +126,9 @@ public final class MessageQueue {
            // Use this awful heuristic to detect them.
            if (useConcurrent) {
                final String processName = Process.myProcessName();
                if (processName.contains("test") || processName.contains("Test")) {
                if (processName == null
                        || processName.contains("test")
                        || processName.contains("Test")) {
                    useConcurrent = false;
                }
            }