Add IDs to buttons in 3 button nav for Taskbar
Bug: 191449914 Test: testSwitchToOverview passes See bug for more details Change-Id: I108bbe7607181680bca7cb5fad5e7289191edde6
This commit is contained in:
1 parent
d7e17a860f
commit
b974a86c8f
8 files changed
+58
-18
No files matched your search
@@ -23,6 +23,8 @@ import android.view.inputmethod.InputMethodManager;
|
||||
|
||||
import androidx.annotation.IntDef;
|
||||
|
||||
import com.android.launcher3.testing.TestLogging;
|
||||
import com.android.launcher3.testing.TestProtocol;
|
||||
import com.android.quickstep.OverviewCommandHelper;
|
||||
import com.android.quickstep.SystemUiProxy;
|
||||
import com.android.quickstep.TouchInteractionService;
|
||||
@@ -94,6 +96,7 @@ public class TaskbarNavButtonController {
|
||||
}
|
||||
|
||||
private void navigateToOverview() {
|
||||
TestLogging.recordEvent(TestProtocol.SEQUENCE_MAIN, "onOverviewToggle");
|
||||
mService.getOverviewCommandHelper().addCommand(OverviewCommandHelper.TYPE_TOGGLE);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user