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

Commit 5506fba8 authored by Kweku Adams's avatar Kweku Adams Committed by Automerger Merge Worker
Browse files

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

Merge "Don't penalize app for slow app binding." into main am: b8989c8b am: 8724066b am: 23954c97

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2786741



Change-Id: Ia539c6c15a36493351601029279fbb16255cfb29
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 3fde5e79 23954c97
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