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

Commit 433ba102 authored by Andrea Ambu's avatar Andrea Ambu
Browse files

speech: No BIND_ALLOW_BACKGROUND_ACTIVITY_STARTS

Bug: 232799171
Test: cts
Change-Id: I72114a936682d735bbe4f79e2c43bba2cdade97e
parent 4b1e2b6e
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -72,8 +72,7 @@ final class RemoteSpeechRecognitionService extends ServiceConnector.Impl<IRecogn
                new Intent(RecognitionService.SERVICE_INTERFACE).setComponent(serviceName),
                Context.BIND_AUTO_CREATE
                        | Context.BIND_FOREGROUND_SERVICE
                        | Context.BIND_INCLUDE_CAPABILITIES
                        | Context.BIND_ALLOW_BACKGROUND_ACTIVITY_STARTS,
                        | Context.BIND_INCLUDE_CAPABILITIES,
                userId,
                IRecognitionService.Stub::asInterface);