summaryrefslogtreecommitdiffstats
path: root/go/src
diff options
context:
space:
mode:
authorRajeev Kumar <rajekumar@google.com>2018-10-30 17:16:25 -0700
committerRajeev Kumar <rajekumar@google.com>2018-10-30 17:16:25 -0700
commitc00a25970173681efe12377d67d858f37f30a1b4 (patch)
tree098b28d069ddfb21db1dd5be9774bb64f4eca33d /go/src
parentb3fe661860c6ec909d4726103e9c7d10434a0455 (diff)
downloadandroid_packages_apps_Trebuchet-c00a25970173681efe12377d67d858f37f30a1b4.tar.gz
android_packages_apps_Trebuchet-c00a25970173681efe12377d67d858f37f30a1b4.tar.bz2
android_packages_apps_Trebuchet-c00a25970173681efe12377d67d858f37f30a1b4.zip
Rename go/src_flags directory as go/src
This CL is preparation work to implement Modular shortcuts component in launcher using java/code swap. Bug: 112904271 Test: Manual test Change-Id: I35cf81e95fe487a384d4e9f17ea303093197318f
Diffstat (limited to 'go/src')
-rw-r--r--go/src/com/android/launcher3/config/FeatureFlags.java32
1 files changed, 32 insertions, 0 deletions
diff --git a/go/src/com/android/launcher3/config/FeatureFlags.java b/go/src/com/android/launcher3/config/FeatureFlags.java
new file mode 100644
index 000000000..a90808c1e
--- /dev/null
+++ b/go/src/com/android/launcher3/config/FeatureFlags.java
@@ -0,0 +1,32 @@
+/*
+ * Copyright (C) 2017 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;
+
+import android.content.Context;
+
+/**
+ * Defines a set of flags used to control various launcher behaviors
+ */
+public final class FeatureFlags extends BaseFlags {
+ private FeatureFlags() {
+ // Prevent instantiation
+ }
+
+ // Features to control Launcher3Go behavior
+ public static final boolean GO_DISABLE_WIDGETS = true;
+ public static final boolean LAUNCHER3_SPRING_ICONS = false;
+}