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

Commit 9710859b authored by Hugo Benichi's avatar Hugo Benichi Committed by Android (Google) Code Review
Browse files

Merge "Fixes 2 race conditions in MetricsLoggerService" into nyc-dev

parents 32c1169a 9b907e44
Loading
Loading
Loading
Loading
+9 −7
Original line number Diff line number Diff line
@@ -192,6 +192,7 @@ public class MetricsLoggerService extends SystemService {
                }
            }

            synchronized (mPendingIntents) {
                if (!mPendingIntents.isEmpty()) {
                    pw.println();
                    pw.println("Pending intents:");
@@ -199,6 +200,7 @@ public class MetricsLoggerService extends SystemService {
                        pw.println(pi.toString());
                    }
                }
            }

            pw.println();
            mDnsListener.dump(pw);
@@ -327,9 +329,9 @@ public class MetricsLoggerService extends SystemService {
                        result[i++] = e;
                    }
                }
            }

                reference.setValue(mLastEventReference);
            }

            return result;
        }