Merge changes from topic "running-in-test-camel" into tm-qpr-dev

* changes:
  Expose IS_RUNNING_IN_TEST_HARNESS as static method.
  Make isTooltipEnabled a getter due to its mutable dependencies.
This commit is contained in:
Brian Isganitis authored and Android (Google) Code Review committed 2023-03-03 23:15:38 +00:00
commit d2d2913812
23 files changed
+41 -39

No files matched your search

@@ -297,7 +297,7 @@ public class TaskbarStashController implements TaskbarControllers.LoggableTaskba
}
return supportsVisualStashing()
&& isInApp()
&& (!Utilities.IS_RUNNING_IN_TEST_HARNESS || mEnableManualStashingDuringTests)
&& (!Utilities.isRunningInTestHarness() || mEnableManualStashingDuringTests)
&& !DisplayController.isTransientTaskbar(mActivity);
}