Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 13c072b9 authored by Winson Chung's avatar Winson Chung
Browse files

Merge branch 'ub-launcher3-master' into launcher3merge2018-10-17

Test: Presubmit
Change-Id: Ibec2771e9b4e5a81dc618bc0f6951ba52aed6801
parents c96f0cc3 6083c63e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -23,6 +23,7 @@ java_library_static {
    srcs: [
        "tests/tapl/**/*.java",
        "quickstep/src/com/android/quickstep/SwipeUpSetting.java",
        "src/com/android/launcher3/util/SecureSettingsObserver.java",
        "src/com/android/launcher3/TestProtocol.java",
    ],
    platform_apis: true,
+32 −0
Original line number Diff line number Diff line
@@ -28,6 +28,34 @@ LOCAL_UNINSTALLABLE_MODULE := true
LOCAL_SDK_VERSION := current
include $(BUILD_PREBUILT)

include $(CLEAR_VARS)
LOCAL_MODULE := libPluginCore
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
LOCAL_SRC_FILES := libs/plugin_core.jar
LOCAL_UNINSTALLABLE_MODULE := true
LOCAL_SDK_VERSION := current
include $(BUILD_PREBUILT)

#
# Build rule for plugin lib (needed to write a plugin).
#
include $(CLEAR_VARS)
LOCAL_USE_AAPT2 := true
LOCAL_AAPT2_ONLY := true
LOCAL_MODULE_TAGS := optional

LOCAL_STATIC_JAVA_LIBRARIES := libPluginCore

LOCAL_SRC_FILES := \
    $(call all-java-files-under, src_plugins)

LOCAL_SDK_VERSION := current
LOCAL_MIN_SDK_VERSION := 28
LOCAL_MODULE := LauncherPluginLib

include $(BUILD_STATIC_JAVA_LIBRARY)

#
# Build rule for Launcher3 dependencies lib.
#
@@ -40,6 +68,8 @@ LOCAL_STATIC_ANDROID_LIBRARIES := \
    androidx.recyclerview_recyclerview \
    androidx.dynamicanimation_dynamicanimation

LOCAL_STATIC_JAVA_LIBRARIES := LauncherPluginLib

LOCAL_SRC_FILES := \
    $(call all-proto-files-under, protos) \
    $(call all-proto-files-under, proto_overrides)
@@ -74,6 +104,8 @@ LOCAL_SRC_FILES := \
    $(call all-java-files-under, src_flags)

LOCAL_PROGUARD_FLAG_FILES := proguard.flags
# Proguard is disable for testing. Derivarive prjects to keep proguard enabled
LOCAL_PROGUARD_ENABLED := disabled

LOCAL_SDK_VERSION := current
LOCAL_MIN_SDK_VERSION := 21
+5 −2
Original line number Diff line number Diff line
@@ -16,12 +16,15 @@

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() {}
    private FeatureFlags() {
        // Prevent instantiation
    }

    // Features to control Launcher3Go behavior
    public static final boolean GO_DISABLE_WIDGETS = true;

libs/plugin_core.jar

0 → 100644
+4.94 KiB

File added.

No diff preview for this file type.

+1.37 MiB (1.5 MiB)

File changed.

No diff preview for this file type.

Loading