Fix bootloop from BIND_SHARED_ISOLATED_PROCESS without manifest change.
Ibb68532435cdd1fba724010b538ecf065c517b0c added the binding flag but without a corresponding Service definition change, it causes a SecurityException that crashes the device. This is a temporary quick-fix to just disable the behavior. It breaks the LookAndTalk feature but that isn't enabled anyway. Test: manual Fix: 266853654 Change-Id: I1a7938370a9aa3017cb0d630177083107fd1c165
This commit is contained in:
@@ -681,8 +681,7 @@ final class HotwordDetectionConnection {
|
||||
}
|
||||
boolean bindResult = mContext.bindIsolatedService(
|
||||
mIntent,
|
||||
Context.BIND_SHARED_ISOLATED_PROCESS | Context.BIND_AUTO_CREATE
|
||||
| Context.BIND_FOREGROUND_SERVICE | mBindingFlags,
|
||||
Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE | mBindingFlags,
|
||||
"hotword_detector_" + mInstanceNumber,
|
||||
mExecutor,
|
||||
serviceConnection);
|
||||
|
||||
Reference in New Issue
Block a user