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

Commit 18184f9c authored by Govinda Wasserman's avatar Govinda Wasserman Committed by Android (Google) Code Review
Browse files

Merge "Adds Assistant invocation type to home long press." into qt-dev

parents ac45adad 24ff3067
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -715,7 +715,10 @@ public class NavigationBarFragment extends LifecycleFragment implements Callback
        }
        mNavigationBarView.onNavigationButtonLongPress(v);
        mMetricsLogger.action(MetricsEvent.ACTION_ASSIST_LONG_PRESS);
        mAssistManager.startAssist(new Bundle() /* args */);
        Bundle args  = new Bundle();
        args.putInt(
                AssistManager.INVOCATION_TYPE_KEY, AssistManager.INVOCATION_HOME_BUTTON_LONG_PRESS);
        mAssistManager.startAssist(args);
        mStatusBar.awakenDreams();

        if (mNavigationBarView != null) {