Explicitly use messaging app in SDK phone builds

This change explicitly includes only the messaging app instead of all of
aosp_base_telephony. This fixes the issue where on initial boot the user
was prompted to select a Home app. This happened because the
aosp_base_telephony makefile includes other makefiles that in turn add
the package Provision which has an activity with an intent filter for
handling HOME. SdkSetup already had such an activity so with two choices
it was left to the user to decide which one to use.

BUG=27273457

Change-Id: I42e77b892ce235a5fa858561325ae37973cfb0cd
(cherry picked from commit 12de252f451b34cfa67f7256027dad84dcfd984d)
This commit is contained in:
Bjoern Johansson 2015-11-18 10:04:21 -08:00 committed by Prathmesh Prabhu
parent 17edabb183
commit d2cd53a41b
6 changed files with 18 additions and 0 deletions

View File

@ -23,6 +23,9 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/sdk_base.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/board/generic_arm64/device.mk)
PRODUCT_PACKAGES += \
messaging
# Overrides
PRODUCT_BRAND := Android
PRODUCT_NAME := sdk_phone_arm64

View File

@ -16,6 +16,9 @@
$(call inherit-product, $(SRC_TARGET_DIR)/product/sdk_base.mk)
PRODUCT_PACKAGES += \
messaging
# Overrides
PRODUCT_BRAND := Android
PRODUCT_NAME := sdk_phone_armv7

View File

@ -21,6 +21,9 @@
$(call inherit-product, $(SRC_TARGET_DIR)/product/sdk_base.mk)
PRODUCT_PACKAGES += \
messaging
# Overrides
PRODUCT_BRAND := Android
PRODUCT_NAME := sdk_phone_mips

View File

@ -22,6 +22,9 @@
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/sdk_base.mk)
PRODUCT_PACKAGES += \
messaging
# Overrides
PRODUCT_BRAND := Android
PRODUCT_NAME := sdk_phone_mips64

View File

@ -21,6 +21,9 @@
$(call inherit-product, $(SRC_TARGET_DIR)/product/sdk_base.mk)
PRODUCT_PACKAGES += \
messaging
# Overrides
PRODUCT_BRAND := Android
PRODUCT_NAME := sdk_phone_x86

View File

@ -22,6 +22,9 @@
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/sdk_base.mk)
PRODUCT_PACKAGES += \
messaging
# Overrides
PRODUCT_BRAND := Android
PRODUCT_NAME := sdk_phone_x86_64