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

Commit 2b79df8f authored by Kweku Adams's avatar Kweku Adams Committed by Android (Google) Code Review
Browse files

Merge "Enable ANR trigger for slow app responses." into udc-dev

parents 04fa4ea3 38f8f0f4
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -35,7 +35,6 @@ import android.app.job.JobProtoEnums;
import android.app.job.JobWorkItem;
import android.app.usage.UsageStatsManagerInternal;
import android.compat.annotation.ChangeId;
import android.compat.annotation.Disabled;
import android.compat.annotation.EnabledAfter;
import android.content.ComponentName;
import android.content.Context;
@@ -97,9 +96,7 @@ public final class JobServiceContext implements ServiceConnection {
     * Whether to trigger an ANR when apps are slow to respond on pre-UDC APIs and functionality.
     */
    @ChangeId
    @Disabled
    // TODO(258236856): Enable after test is fixed
    // @EnabledAfter(targetSdkVersion = Build.VERSION_CODES.TIRAMISU)
    @EnabledAfter(targetSdkVersion = Build.VERSION_CODES.TIRAMISU)
    private static final long ANR_PRE_UDC_APIS_ON_SLOW_RESPONSES = 258236856L;

    private static final String TAG = "JobServiceContext";