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

Commit 2b38000a authored by Amith Yamasani's avatar Amith Yamasani Committed by android-build-merger
Browse files

Merge "Reduce wtf spam when a service onDestroy races with proc death" into nyc-dev

am: 31938022

* commit '31938022':
  Reduce wtf spam when a service onDestroy races with proc death

Change-Id: Ibcd7b1432c178499f7426008e744b84f43a75a43
parents 4c1639a5 31938022
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -2186,8 +2186,12 @@ public final class ActiveServices {
                if (!inDestroying) {
                    // Not sure what else to do with this...  if it is not actually in the
                    // destroying list, we don't need to make sure to remove it from it.
                    // If the app is null, then it was probably removed because the process died,
                    // otherwise wtf
                    if (r.app != null) {
                        Slog.wtfStack(TAG, "Service done with onDestroy, but not inDestroying: "
                            + r);
                                + r + ", app=" + r.app);
                    }
                } else if (r.executeNesting != 1) {
                    Slog.wtfStack(TAG, "Service done with onDestroy, but executeNesting="
                            + r.executeNesting + ": " + r);