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

Commit b86d81d3 authored by Christopher Tate's avatar Christopher Tate
Browse files

Don't attempt native crash reporting for persistent apps

Bug 8639127

Change-Id: I55035cfed9ba04597422f675ede105dae40b2fbf
parent b5ec8c14
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -219,6 +219,14 @@ class NativeCrashListener extends Thread {
                    pr = mAm.mPidsSelfLocked.get(pid);
                }
                if (pr != null) {
                    // Don't attempt crash reporting for persistent apps
                    if (pr.persistent) {
                        if (DEBUG) {
                            Slog.v(TAG, "Skipping report for persistent app " + pr);
                        }
                        return;
                    }

                    int bytes;
                    do {
                        // get some data