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
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user