diff --git a/config/common.mk b/config/common.mk index f8dff4920a0480335be44c52c597e3d65515319f..a93d3b4cb34b41ed4c890709cf271ecb28a9051f 100644 --- a/config/common.mk +++ b/config/common.mk @@ -94,6 +94,34 @@ endif PRODUCT_PACKAGES += \ bootanimation.zip +# Required /e/ packages +PRODUCT_PACKAGES += \ + GmsCore \ + GsfProxy \ + FakeStore \ + com.google.android.maps.jar \ + Mail \ + BlissLauncher \ + BlissIconPack \ + MozillaNlpBackend \ + OpenWeatherMapWeatherProvider \ + AccountManager \ + MagicEarth \ + PdfViewer \ + Camera \ + eDrive \ + Weather \ + Notes \ + Tasks \ + NominatimNlpBackend \ + DroidGuard \ + LibreOfficeViewer \ + OpenKeychain \ + Message \ + Browser \ + BrowserWebView \ + Apps + # Required CM packages PRODUCT_PACKAGES += \ BluetoothExt \ @@ -159,6 +187,11 @@ PRODUCT_PACKAGES += \ wget \ zip +# Custom packages +ifdef CUSTOM_PACKAGES +PRODUCT_PACKAGES += $(CUSTOM_PACKAGES) +endif + # Custom off-mode charger ifneq ($(WITH_CM_CHARGER),false) PRODUCT_PACKAGES += \ @@ -226,6 +259,8 @@ PRODUCT_PACKAGES += \ endif endif +PRODUCT_PACKAGE_OVERLAYS := vendor/cm/overlay/microg + DEVICE_PACKAGE_OVERLAYS += vendor/cm/overlay/common PRODUCT_VERSION_MAJOR = 0 @@ -252,11 +287,6 @@ ifndef CM_BUILDTYPE endif endif -# Filter out random types, so it'll reset to UNOFFICIAL -ifeq ($(filter RELEASE NIGHTLY SNAPSHOT EXPERIMENTAL,$(CM_BUILDTYPE)),) - CM_BUILDTYPE := -endif - ifdef CM_BUILDTYPE ifneq ($(CM_BUILDTYPE), SNAPSHOT) ifdef CM_EXTRAVERSION diff --git a/overlay/microg/frameworks/base/core/res/res/values/config.xml b/overlay/microg/frameworks/base/core/res/res/values/config.xml new file mode 100644 index 0000000000000000000000000000000000000000..59252771c7f23dbc651e5244fa7a42a41c82797b --- /dev/null +++ b/overlay/microg/frameworks/base/core/res/res/values/config.xml @@ -0,0 +1,25 @@ + + + + + + + true + true + +