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

Commit 643eb06c authored by Ahaan Ugale's avatar Ahaan Ugale
Browse files

Set HotwordDetectionService priority same as VIS.

VoiceInteractionService is bound with the BIND_FOREGROUND_SERVICE flag.
Do the same for the HotwordDetectionService now.

Test: manual
Fix: 206812592
Change-Id: Iddd992fe475976ac68b91580c67525f56d534e32
parent a307ec79
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -841,7 +841,7 @@ final class HotwordDetectionConnection {
            try {
                return mContext.bindIsolatedService(
                        mIntent,
                        Context.BIND_AUTO_CREATE | mBindingFlags,
                        Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE | mBindingFlags,
                        "hotword_detector_" + mInstanceNumber,
                        mExecutor,
                        serviceConnection);