mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 10:48:19 +00:00
Fixing Robolectic model tests
Some tests were broken because of refactoring in LauncherModel. Change-Id: I55aa32d75a4d16338796a1b1765717fd72ba4b33
This commit is contained in:
@@ -326,6 +326,8 @@ public abstract class BaseQuickstepLauncher extends Launcher
|
||||
@Override
|
||||
public void onAttachedToWindow() {
|
||||
super.onAttachedToWindow();
|
||||
InteractionJankMonitorWrapper.init(getWindow().getDecorView());
|
||||
if (Utilities.ATLEAST_R) {
|
||||
InteractionJankMonitorWrapper.init(getWindow().getDecorView());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user