2015-12-07 15:00:24 -08:00
|
|
|
/*
|
|
|
|
|
* Copyright (C) 2015 The Android Open Source Project
|
|
|
|
|
*
|
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
|
*
|
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
*
|
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
|
* limitations under the License.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
package com.android.launcher3.config;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Defines a set of flags used to control various launcher behaviors
|
|
|
|
|
*/
|
2017-07-24 01:02:38 -07:00
|
|
|
public final class FeatureFlags extends BaseFlags {
|
2017-03-06 16:56:39 -08:00
|
|
|
|
2018-01-23 14:53:41 +01:00
|
|
|
// When enabled, icons not supporting {@link AdaptiveIconDrawable} will be wrapped in {@link FixedScaleDrawable}.
|
2018-07-17 19:27:23 +02:00
|
|
|
public static final boolean LEGACY_ICON_TREATMENT = true;
|
2018-01-23 14:53:41 +01:00
|
|
|
|
2018-08-03 22:44:45 +02:00
|
|
|
// When enabled, app shortcuts are extracted from the package XML.
|
|
|
|
|
public static final boolean LAUNCHER3_BACKPORT_SHORTCUTS = true;
|
|
|
|
|
|
2018-02-16 19:18:08 +01:00
|
|
|
// Feature flag to enable moving the QSB on the 0th screen of the workspace.
|
2019-07-03 00:47:25 +07:00
|
|
|
public static final boolean QSB_ON_FIRST_SCREEN = false;
|
2018-06-10 09:44:32 +07:00
|
|
|
|
2018-12-02 07:22:33 +07:00
|
|
|
public static boolean REFLECTION_FORCE_OVERVIEW_MODE = true;
|
|
|
|
|
|
2019-01-27 12:33:31 +07:00
|
|
|
public static boolean FORCE_FEED_BRIDGE = false;
|
|
|
|
|
|
2015-12-07 15:00:24 -08:00
|
|
|
private FeatureFlags() {}
|
|
|
|
|
}
|