Merge "Adds Assistant invocation type to home long press." into qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
18184f9c86
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user