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:
Vinit Nayak
2021-06-18 14:39:08 -07:00
parent d7e17a860f
commit b974a86c8f
8 changed files with 58 additions and 18 deletions

View File

@@ -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);
}