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

Commit db70af44 authored by Chris Tate's avatar Chris Tate Committed by android-build-merger
Browse files

Merge "Harden against jobscheduler client app misbehavior" into nyc-mr2-dev am: 38f1b6db

am: c475730d

Change-Id: I026c74906f8f43c2eb7ca529a59b1e6be5696351
parents 760623a4 c475730d
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -448,7 +448,10 @@ public class JobServiceContext extends IJobCallback.Stub implements ServiceConne
                mVerb = VERB_STARTING;
                scheduleOpTimeOut();
                service.startJob(mParams);
            } catch (RemoteException e) {
            } catch (Exception e) {
                // We catch 'Exception' because client-app malice or bugs might induce a wide
                // range of possible exception-throw outcomes from startJob() and its handling
                // of the client's ParcelableBundle extras.
                Slog.e(TAG, "Error sending onStart message to '" +
                        mRunningJob.getServiceComponent().getShortClassName() + "' ", e);
            }