mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 00:06:47 +00:00
Migrate ENABLE_RESPONSIVE_WORKSPACE to aconfig
- Keeping FeatureFlags.ENABLE_RESPONSIVE_WORKSPACE for local testing until aconfig is available in FlagFlipper - Still reference ENABLE_RESPONSIVE_WORKSPACE in tests as aconfig still can't be mocked Bug: 299935275 Test: manual Change-Id: I092df894a3624dca6b9d381d56ada71d807547b5
This commit is contained in:
@@ -888,7 +888,7 @@ public class InvariantDeviceProfile {
|
||||
deviceCategory = a.getInt(R.styleable.GridDisplayOption_deviceCategory,
|
||||
DEVICE_CATEGORY_ALL);
|
||||
|
||||
if (FeatureFlags.ENABLE_RESPONSIVE_WORKSPACE.get()) {
|
||||
if (FeatureFlags.enableResponsiveWorkspace()) {
|
||||
mWorkspaceSpecsId = a.getResourceId(
|
||||
R.styleable.GridDisplayOption_workspaceSpecsId, INVALID_RESOURCE_HANDLE);
|
||||
mWorkspaceSpecsTwoPanelId = a.getResourceId(
|
||||
|
||||
Reference in New Issue
Block a user