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
2021-06-24 16:23:11 +01:00
parent 9f7eae758f
commit 7a9972289f
4 changed files with 29 additions and 2 deletions

View File

@@ -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) {