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

Commit b8989c8b authored by Kweku Adams's avatar Kweku Adams Committed by Gerrit Code Review
Browse files

Merge "Don't penalize app for slow app binding." into main

parents 3f3a9465 8d6ab2f9
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1327,13 +1327,13 @@ public final class JobServiceContext implements ServiceConnection {
    private void handleOpTimeoutLocked() {
        switch (mVerb) {
            case VERB_BINDING:
                onSlowAppResponseLocked(/* reschedule */ false, /* updateStopReasons */ true,
                // The system may have been too busy. Don't drop the job or trigger an ANR.
                onSlowAppResponseLocked(/* reschedule */ true, /* updateStopReasons */ true,
                        /* texCounterMetricId */
                        "job_scheduler.value_cntr_w_uid_slow_app_response_binding",
                        /* debugReason */ "timed out while binding",
                        /* anrMessage */ "Timed out while trying to bind",
                        CompatChanges.isChangeEnabled(ANR_PRE_UDC_APIS_ON_SLOW_RESPONSES,
                            mRunningJob.getUid()));
                        /* triggerAnr */ false);
                break;
            case VERB_STARTING:
                // Client unresponsive - wedged or failed to respond in time. We don't really