Clean up overview icon menu flag after tests and refresh device profile.
Fix: 306089019 Test: TaplOverviewIconAppChipMenuTest Flag: ACONFIG com.android.launcher3.enable_overview_icon_menu TRUNKFOOD Change-Id: I04335967e6bfa52d143a399859e2e745d428ab30
This commit is contained in:
@@ -18,6 +18,7 @@ package com.android.quickstep;
|
||||
import com.android.launcher3.Flags;
|
||||
import com.android.launcher3.InvariantDeviceProfile;
|
||||
|
||||
import org.junit.After;
|
||||
import org.junit.Before;
|
||||
|
||||
/**
|
||||
@@ -35,4 +36,11 @@ public class TaplOverviewIconAppChipMenuTest extends TaplOverviewIconTest {
|
||||
executeOnLauncher(launcher -> InvariantDeviceProfile.INSTANCE.get(launcher).onConfigChanged(
|
||||
launcher));
|
||||
}
|
||||
|
||||
@After
|
||||
public void tearDown() {
|
||||
mSetFlagsRule.disableFlags(Flags.FLAG_ENABLE_OVERVIEW_ICON_MENU);
|
||||
executeOnLauncher(launcher -> InvariantDeviceProfile.INSTANCE.get(launcher).onConfigChanged(
|
||||
launcher));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user