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

Commit 85fa2025 authored by Michal Karpinski's avatar Michal Karpinski
Browse files

Allow VoiceInteractionManagerService to open voice and

assistant activities from background

Bug: 123936802
Bug: 123680744
Test: manual, opening assistant by squeeze from a) keyguard, b) when
      another app is in fg, and c) with BT headphones button
Change-Id: I97907c66899b66f781c8f8e87d73b767da5e4761
parent 683fe3ea
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1383,6 +1383,7 @@ public class ActivityTaskManagerService extends IActivityTaskManager.Stub {
                .setProfilerInfo(profilerInfo)
                .setActivityOptions(bOptions)
                .setMayWait(userId)
                .setAllowBackgroundActivityStart(true)
                .execute();
    }

@@ -1398,6 +1399,7 @@ public class ActivityTaskManagerService extends IActivityTaskManager.Stub {
                .setResolvedType(resolvedType)
                .setActivityOptions(bOptions)
                .setMayWait(userId)
                .setAllowBackgroundActivityStart(true)
                .execute();
    }