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

Commit 41e70869 authored by Albert Dai's avatar Albert Dai Committed by Gerrit Code Review
Browse files

Merge "Bind voice interactor as visible foreground service when it is being used." into main

parents cdd8d360 a1e77df7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -279,6 +279,7 @@ final class VoiceInteractionSessionConnection implements ServiceConnection,
                mFullyBound = mContext.bindServiceAsUser(mBindIntent, mFullConnection,
                        Context.BIND_AUTO_CREATE | Context.BIND_TREAT_LIKE_ACTIVITY
                                | Context.BIND_SCHEDULE_LIKE_TOP_APP
                                | Context.BIND_TREAT_LIKE_VISIBLE_FOREGROUND_SERVICE
                                | Context.BIND_ALLOW_BACKGROUND_ACTIVITY_STARTS,
                        new UserHandle(mUser));
            }