Add touch event of on taskbar for various cases

- Temporarily disable leak detection on tablets until b/191449914 is resolved
- Add touch event on taskbar when interacting with navigation buttons
- Added TaplTestsLauncher3.initialize to StartLauncherViaGestureTests which is present in TaplTestQuickstep to solve LauncherInstrumentation being null problem on tablets

Bug: 191344757, 191449914
Test: TaplTestQuickstep and StartLauncherViaGestureTests
Change-Id: I49accc458d133717f290140abe80aae8a683f6c0
This commit is contained in:
Alex Chau committed 2021-06-24 18:00:12 +01:00
1 parent 9f7eae758f
commit 7a9972289f
4 files changed
+29 -2

No files matched your search

@@ -127,6 +127,9 @@ public abstract class AbstractLauncherUiTest {
}
public static void checkDetectedLeaks(LauncherInstrumentation launcher) {
// TODO(b/191449914): Temporarily disable leak detection on tablets until bug is resolved.
if (launcher.isTablet()) return;
if (sActivityLeakReported) return;
if (sStrictmodeDetectedActivityLeak != null) {