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

Commit 02c80c63 authored by Amith Yamasani's avatar Amith Yamasani
Browse files

Workaround for assist crash with multiwindow

Temporarily disable multiwindow assist until
Bug: 28348867
is fixed correctly.

Change-Id: Ia9d0fb5d4412e87aada90e8dcffe829b61221c6c
parent de5a7afc
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -251,7 +251,8 @@ final class VoiceInteractionSessionConnection implements ServiceConnection {
                        && structureEnabled) {
                    mAssistData.clear();
                    final int count = activityToken != null ? 1 : topActivities.size();
                    for (int i = 0; i < count; i++) {
                    // Temp workaround for bug: 28348867  Revert after DP3
                    for (int i = 0; i < count && i < 1; i++) {
                        IBinder topActivity = count == 1 ? activityToken : topActivities.get(i);
                        try {
                            MetricsLogger.count(mContext, "assist_with_context", 1);