Initial push
This commit is contained in:
parent
1effac6bf8
commit
a01d3e7cc2
1993 changed files with 106354 additions and 0 deletions
31
Custom_APN/Android.mk
Normal file
31
Custom_APN/Android.mk
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
#
|
||||
# Copyright 2019-Present A-Team Digital Solutions
|
||||
#
|
||||
# A-Team Custom APN
|
||||
#
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
################################
|
||||
# Copies the APN list file into $(TARGET_COPY_OUT_PRODUCT)/etc for the product as apns-conf.xml.
|
||||
# In the case where $(CUSTOM_APNS_FILE) is defined, the content of $(CUSTOM_APNS_FILE)
|
||||
# is added or replaced to the $(DEFAULT_APNS_FILE).
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := apns-conf.xml
|
||||
LOCAL_MODULE_CLASS := ETC
|
||||
|
||||
# Custom APN Mechanism
|
||||
ifeq ($(CUSTOM_APN), Custom)
|
||||
DEFAULT_APNS_FILE := vendor/A-Team/Custom_APN/apns-conf.xml
|
||||
else
|
||||
DEFAULT_APNS_FILE := vendor/$(ROM_VENDOR_NAME)/prebuilt/common/etc/apns-conf.xml
|
||||
endif
|
||||
|
||||
FINAL_APNS_FILE := $(DEFAULT_APNS_FILE)
|
||||
|
||||
LOCAL_PREBUILT_MODULE_FILE := $(FINAL_APNS_FILE)
|
||||
|
||||
LOCAL_PRODUCT_MODULE := true
|
||||
|
||||
include $(BUILD_PREBUILT)
|
||||
Loading…
Reference in a new issue