Loading services/core/java/com/android/server/am/ActiveServices.java +6 −1 Original line number Diff line number Diff line Loading @@ -790,7 +790,7 @@ public final class ActiveServices { "SHORT_FGS_TIMEOUT"); this.mServiceFGAnrTimer = new ServiceAnrTimer(service, ActivityManagerService.SERVICE_FOREGROUND_TIMEOUT_MSG, "SERVICE_FOREGROUND_TIMEOUT"); "SERVICE_FOREGROUND_TIMEOUT", new AnrTimer.Args().extend(true)); } void systemServicesReady() { Loading Loading @@ -7702,6 +7702,11 @@ public final class ActiveServices { super(Objects.requireNonNull(am).mHandler, msg, label); } ServiceAnrTimer(ActivityManagerService am, int msg, String label, @NonNull AnrTimer.Args args) { super(Objects.requireNonNull(am).mHandler, msg, label, args); } @Override public int getPid(@NonNull ServiceRecord service) { return (service.app != null) ? service.app.getPid() : 0; Loading Loading
services/core/java/com/android/server/am/ActiveServices.java +6 −1 Original line number Diff line number Diff line Loading @@ -790,7 +790,7 @@ public final class ActiveServices { "SHORT_FGS_TIMEOUT"); this.mServiceFGAnrTimer = new ServiceAnrTimer(service, ActivityManagerService.SERVICE_FOREGROUND_TIMEOUT_MSG, "SERVICE_FOREGROUND_TIMEOUT"); "SERVICE_FOREGROUND_TIMEOUT", new AnrTimer.Args().extend(true)); } void systemServicesReady() { Loading Loading @@ -7702,6 +7702,11 @@ public final class ActiveServices { super(Objects.requireNonNull(am).mHandler, msg, label); } ServiceAnrTimer(ActivityManagerService am, int msg, String label, @NonNull AnrTimer.Args args) { super(Objects.requireNonNull(am).mHandler, msg, label, args); } @Override public int getPid(@NonNull ServiceRecord service) { return (service.app != null) ? service.app.getPid() : 0; Loading