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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16285219

Change-Id: I9ec42aeeb821ee708af43f73f594a23a7e0367ac
This commit is contained in:
Ahaan Ugale
2021-11-18 19:45:28 +00:00
committed by Automerger Merge Worker

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