Toggle taskbar button nav assistant availability
* New signals coming in from Sysui reflect the toggle in Settings for long pressing on home button to invoke assistant. Fixes: 255909545 Test: Manual + added unit test for TaskbarNavButtonController Change-Id: Ic65a80b0b9697990931b7e89756773fb086cc3bd
This commit is contained in:
1 parent
39688d2d61
commit
0d784ee7fb
4 files changed
+25
-3
No files matched your search
@@ -320,6 +320,12 @@ public class TaskbarManager {
|
||||
}
|
||||
}
|
||||
|
||||
public void onLongPressHomeEnabled(boolean assistantLongPressEnabled) {
|
||||
if (mNavButtonController != null) {
|
||||
mNavButtonController.setAssistantLongPressEnabled(assistantLongPressEnabled);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the flag indicating setup UI is visible
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user