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

Commit 7572f528 authored by Dave Bort's avatar Dave Bort
Browse files

Install apns-conf_sdk.xml if no other apns-conf.xml is specified

This should make data work in generic emulator builds.
parent e03f0237
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -165,13 +165,17 @@ endif
override_build_tags := development
ADDITIONAL_BUILD_PROPERTIES += xmpp.auto-presence=true
ADDITIONAL_BUILD_PROPERTIES += ro.config.nocheckin=yes
else # !sdk
# Enable sync for non-sdk builds only (sdk builds lack SubscribedFeedsProvider).
ADDITIONAL_BUILD_PROPERTIES += ro.config.sync=yes
endif

ifeq "" "$(filter %:system/etc/apns-conf.xml, $(PRODUCT_COPY_FILES))"
  # Install an apns-conf.xml file if one's not already being installed.
  PRODUCT_COPY_FILES += development/data/etc/apns-conf_sdk.xml:system/etc/apns-conf.xml
  ifeq ($(filter sdk,$(MAKECMDGOALS)),)
    $(warning implicitly installing apns-conf_sdk.xml)
  endif
else # !sdk
# Enable sync for non-sdk builds only (sdk builds lack SubscribedFeedsProvider).
ADDITIONAL_BUILD_PROPERTIES += ro.config.sync=yes
endif

ADDITIONAL_BUILD_PROPERTIES += net.bt.name=Android