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

Commit e6c15bce authored by Nandana Dutt's avatar Nandana Dutt Committed by android-build-merger
Browse files

Merge "Stop bugreportd if binder call fails" am: 8cf74c36 am: e42a405e

am: c9652eed

Change-Id: I440a1e06ee5cff4fb6054dbe42a68f2fb46b9efb
parents 80ce3a3b c9652eed
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -174,7 +174,11 @@ class BugreportManagerServiceImpl extends IDumpstate.Stub {
            ds.startBugreport(callingUid, callingPackage,
                    bugreportFd, screenshotFd, bugreportMode, myListener);
        } catch (RemoteException e) {
            reportError(listener, IDumpstateListener.BUGREPORT_ERROR_RUNTIME_ERROR);
            // bugreportd service is already started now. We need to kill it to manage the
            // lifecycle correctly. If we don't subsequent callers will get
            // BUGREPORT_ERROR_ANOTHER_REPORT_IN_PROGRESS error.
            // Note that listener will be notified by the death recipient below.
            cancelBugreport();
        }
    }