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

Commit 404c7256 authored by Ahaan Ugale's avatar Ahaan Ugale
Browse files

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
parent 048dee57
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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);