diff options
-rw-r--r-- | services/contentcapture/java/com/android/server/contentcapture/RemoteContentCaptureService.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/services/contentcapture/java/com/android/server/contentcapture/RemoteContentCaptureService.java b/services/contentcapture/java/com/android/server/contentcapture/RemoteContentCaptureService.java index 9a170ac6da10..0b9bf3962562 100644 --- a/services/contentcapture/java/com/android/server/contentcapture/RemoteContentCaptureService.java +++ b/services/contentcapture/java/com/android/server/contentcapture/RemoteContentCaptureService.java @@ -54,7 +54,9 @@ final class RemoteContentCaptureService boolean verbose, int idleUnbindTimeoutMs) { super(context, serviceInterface, serviceComponentName, userId, perUserService, context.getMainThreadHandler(), - bindInstantServiceAllowed ? Context.BIND_ALLOW_INSTANT : 0, verbose, + Context.BIND_INCLUDE_CAPABILITIES + | (bindInstantServiceAllowed ? Context.BIND_ALLOW_INSTANT : 0), + verbose, /* initialCapacity= */ 2); mPerUserService = perUserService; mServerCallback = callback.asBinder(); |