aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormosimchah <mosimchah@gmail.com>2017-04-30 03:46:18 -0400
committermosimchah <mosimchah@gmail.com>2017-05-03 14:11:12 -0400
commitf9cba203db7fd00a6c39541f57f646652e45f153 (patch)
tree839c70132ba0bb1950102cc62aff1d3f065bd499
parent4c0be3ffda5f6a9e65b61c9a6529e25e9af2c6e9 (diff)
We can't remove the sdcard without removing the battery
-overide the common overlays Change-Id: I6848a781aff3eef5ff56583ef717b54f4fb56d34
-rw-r--r--device.mk2
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml3
2 files changed, 4 insertions, 1 deletions
diff --git a/device.mk b/device.mk
index 3960149..d62d1a8 100644
--- a/device.mk
+++ b/device.mk
@@ -19,7 +19,7 @@ $(call inherit-product, frameworks/native/build/phone-hdpi-512-dalvik-heap.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
# Specific overlay
-DEVICE_PACKAGE_OVERLAYS += device/lge/w7/overlay
+PRODUCT_PACKAGE_OVERLAYS += device/lge/w7/overlay
# Configs
PRODUCT_COPY_FILES += \
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index 314b427..6e0900f 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -27,4 +27,7 @@
<!-- Our modem doesn't support this query yet -->
<string name="config_radio_access_family">GPRS|EDGE|UMTS|HSDPA|HSUPA|HSPA|HSPAP|GSM|WCDMA</string>
+ <!-- Indicate whether the SD card is accessible without removing the battery. -->
+ <bool name="config_batterySdCardAccessibility">false</bool>
+
</resources>