Merge "Speeding up TAPL by calling getVisibleStateMessage() less frequently" into ub-launcher3-rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
fc9ea9b0fc
@@ -651,7 +651,7 @@ public final class LauncherInstrumentation {
|
||||
} else {
|
||||
log("Hierarchy before swiping up to home:");
|
||||
dumpViewHierarchy();
|
||||
log(action = "swiping up to home from " + getVisibleStateMessage());
|
||||
action = "swiping up to home";
|
||||
|
||||
try (LauncherInstrumentation.Closable c = addContextLayer(action)) {
|
||||
swipeToState(
|
||||
@@ -666,7 +666,7 @@ public final class LauncherInstrumentation {
|
||||
} else {
|
||||
log("Hierarchy before clicking home:");
|
||||
dumpViewHierarchy();
|
||||
log(action = "clicking home button from " + getVisibleStateMessage());
|
||||
action = "clicking home button";
|
||||
try (LauncherInstrumentation.Closable c = addContextLayer(action)) {
|
||||
if (!isLauncher3() && getNavigationModel() == NavigationModel.TWO_BUTTON) {
|
||||
expectEvent(TestProtocol.SEQUENCE_TIS, EVENT_TOUCH_DOWN_TIS);
|
||||
|
||||
Reference in New Issue
Block a user