diff mbox

generic: device.mk: Add basic usb overlays so Developer Options doesn't crash

Message ID 1474070970-12064-1-git-send-email-john.stultz@linaro.org
State New
Headers show

Commit Message

John Stultz Sept. 17, 2016, 12:09 a.m. UTC
Without this, developer options in settings crashes.

Signed-off-by: John Stultz <john.stultz@linaro.org>

---
 device.mk | 2 ++
 1 file changed, 2 insertions(+)

-- 
1.9.1
diff mbox

Patch

diff --git a/device.mk b/device.mk
index 1009913..5675608 100644
--- a/device.mk
+++ b/device.mk
@@ -50,6 +50,8 @@  PRODUCT_COPY_FILES += \
     frameworks/native/data/etc/android.hardware.screen.portrait.xml:system/etc/permissions/android.hardware.screen.portrait.xml \
     frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:system/etc/media_codecs_google_audio.xml \
     frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:system/etc/media_codecs_google_video.xml \
+    frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml \
+    frameworks/native/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml \
     $(LOCAL_PATH)/media_codecs.xml:system/etc/media_codecs.xml \
 
 PRODUCT_COPY_FILES += \