Merge "Disabling strict activity leak check more aggressively than in ag/25340909" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
aecbc650fc
@@ -122,7 +122,10 @@ public abstract class AbstractLauncherUiTest {
|
||||
|
||||
/** Detects activity leaks and throws an exception if a leak is found. */
|
||||
public static void checkDetectedLeaks(LauncherInstrumentation launcher,
|
||||
boolean requireOneActiveActivity) {
|
||||
boolean requireOneActiveActivityUnused) {
|
||||
final boolean requireOneActiveActivity =
|
||||
false; // workaround for leaks when there is an unexpected Recents activity
|
||||
|
||||
if (sActivityLeakReported) return;
|
||||
|
||||
// Check whether activity leak detector has found leaked activities.
|
||||
|
||||
Reference in New Issue
Block a user