mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Fixing ViewCaptureRule not unregistered if activity is destroyed
Bug: 291638593 Test: Presubmit Flag: N/A Change-Id: I86daf9fac210340b037d376d882ac5872c596ae4
This commit is contained in:
@@ -116,8 +116,7 @@ public class FallbackRecentsTest {
|
||||
Utilities.enableRunningInTestHarnessForTests();
|
||||
}
|
||||
|
||||
final ViewCaptureRule viewCaptureRule = new ViewCaptureRule(
|
||||
RecentsActivity.ACTIVITY_TRACKER::getCreatedActivity);
|
||||
final ViewCaptureRule viewCaptureRule = new ViewCaptureRule();
|
||||
mOrderSensitiveRules = RuleChain
|
||||
.outerRule(new SamplerRule())
|
||||
.around(new NavigationModeSwitchRule(mLauncher))
|
||||
|
||||
Reference in New Issue
Block a user