summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Song Pan <songpan@google.com> 2020-05-29 12:36:12 +0100
committer Song Pan <songpan@google.com> 2020-05-29 12:37:44 +0100
commitabde85cc8bf729afa1f69bb6674e94f804cca04c (patch)
tree7c0157d10286c475cf2f1751472776339504e6c7
parent29dfff4228a72ba1dc64c91b5747382a3480d076 (diff)
Do not use the handler for receiver broadcasts.
If the handler is busy, broadcasts may time out before even reaching the handler. Bug: 151211883 Test: atest AppIntegrityManagerServiceImplTest Change-Id: I4de7ffef9bb0ca8ab1db5c690b99ca37623ea833
-rw-r--r--services/core/java/com/android/server/integrity/AppIntegrityManagerServiceImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/integrity/AppIntegrityManagerServiceImpl.java b/services/core/java/com/android/server/integrity/AppIntegrityManagerServiceImpl.java
index 817902d9d566..3d4efe614e1d 100644
--- a/services/core/java/com/android/server/integrity/AppIntegrityManagerServiceImpl.java
+++ b/services/core/java/com/android/server/integrity/AppIntegrityManagerServiceImpl.java
@@ -182,7 +182,7 @@ public class AppIntegrityManagerServiceImpl extends IAppIntegrityManager.Stub {
},
integrityVerificationFilter,
/* broadcastPermission= */ null,
- mHandler);
+ /* scheduler= */ null);
}
@Override