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

Commit 1b1df45e authored by Romain Hunault's avatar Romain Hunault
Browse files

Use a specific OpenWeatherProvider depending of Android version

parent 70891960
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -2,8 +2,14 @@ LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := OpenWeatherMapWeatherProvider
LOCAL_SRC_FILES := OpenWeatherMapWeatherProvider.apk
LOCAL_CERTIFICATE := platform

ifeq ($(PRODUCT_VERSION_MAJOR).$(PRODUCT_VERSION_MINOR), 0.1)
  LOCAL_SRC_FILES := OpenWeatherMapWeatherProvider-nougat.apk
else
  LOCAL_SRC_FILES := OpenWeatherMapWeatherProvider-oreo.apk
endif

LOCAL_MODULE_CLASS := APPS
LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
LOCAL_CERTIFICATE := PRESIGNED
include $(BUILD_PREBUILT)
+404 KiB

File added.

No diff preview for this file type.

+384 KiB

File added.

No diff preview for this file type.

−454 KiB

File deleted.