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

Commit 1c4b22d3 authored by Philip Cuadra's avatar Philip Cuadra Committed by android-build-merger
Browse files

Merge "Bind voice interactor as top-app when it is being used" into qt-qpr1-dev

am: 6183d81a

Change-Id: I8d8dad94248bd9aa7e7dc6041afce6690abe6725
parents d40f352b 6183d81a
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -194,7 +194,7 @@ final class VoiceInteractionSessionConnection implements ServiceConnection,
            if (!mFullyBound) {
            if (!mFullyBound) {
                mFullyBound = mContext.bindServiceAsUser(mBindIntent, mFullConnection,
                mFullyBound = mContext.bindServiceAsUser(mBindIntent, mFullConnection,
                        Context.BIND_AUTO_CREATE | Context.BIND_TREAT_LIKE_ACTIVITY
                        Context.BIND_AUTO_CREATE | Context.BIND_TREAT_LIKE_ACTIVITY
                                | Context.BIND_FOREGROUND_SERVICE
                                | Context.BIND_SCHEDULE_LIKE_TOP_APP
                                | Context.BIND_ALLOW_BACKGROUND_ACTIVITY_STARTS,
                                | Context.BIND_ALLOW_BACKGROUND_ACTIVITY_STARTS,
                        new UserHandle(mUser));
                        new UserHandle(mUser));
            }
            }