Merge "Set HotwordDetectionService priority same as VIS." into sc-v2-dev

This commit is contained in:
Ahaan Ugale
2021-11-18 02:29:11 +00:00
committed by Android (Google) Code Review

View File

@@ -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);