Add TelephonyProvider and rild to ATV emulator targets
Ji-Hwan Lee [Tue, 17 Jun 2014 12:21:00 +0000 (21:21 +0900)]
To enable network for ATV emulator.
Also, remove mock location provider that is no longer necessary.

Bug: 14282591
Change-Id: Iac163e31446d3136301b560e71a84688a907933f

products/atv_generic.mk
products/atv_sdk.mk
sdk_overlay/frameworks/base/core/res/res/values/config.xml

index 5883e41..de8aa22 100644 (file)
 # limitations under the License.
 #
 
-PRODUCT_COPY_FILES := \
-    device/google/atv/config.ini:config.ini
+PRODUCT_PACKAGES := \
+    TelephonyProvider \
+    rild
 
 DEVICE_PACKAGE_OVERLAYS := \
     device/google/atv/sdk_overlay \
     development/sdk_overlay
 
+PRODUCT_COPY_FILES := \
+    device/google/atv/config.ini:config.ini
+
 # Put en_US first in the list, so make it default.
 PRODUCT_LOCALES := en_US
 
index 60cb233..0004cda 100644 (file)
 #
 
 PRODUCT_PACKAGES := \
+    EmulatorSmokeTests \
+    TelephonyProvider \
     audio.primary.goldfish \
-    EmulatorSmokeTests
+    rild
 
 DEVICE_PACKAGE_OVERLAYS := \
     device/google/atv/sdk_overlay \
index 41d5669..110752f 100644 (file)
     <!-- development/sdk_overlay enables voice. Reset to data-only. -->
     <bool name="config_voice_capable">false</bool>
 
-    <!-- development/sdk_overlay enables only default location providers.
-         Add a mock location provider for network location. -->
-    <string-array name="config_testLocationProviders" translatable="false">
-        <item>network,false,false,false,false,true,true,true,1,2</item>
-    </string-array>
-
 </resources>