From patchwork Thu Sep 22 22:04:32 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 76818 Delivered-To: patches@linaro.org Received: by 10.140.106.72 with SMTP id d66csp258356qgf; Thu, 22 Sep 2016 15:04:39 -0700 (PDT) X-Received: by 10.98.92.65 with SMTP id q62mr6991544pfb.70.1474581879814; Thu, 22 Sep 2016 15:04:39 -0700 (PDT) Return-Path: Received: from mail-pa0-x22f.google.com (mail-pa0-x22f.google.com. [2607:f8b0:400e:c03::22f]) by mx.google.com with ESMTPS id hx10si538188pac.50.2016.09.22.15.04.39 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Sep 2016 15:04:39 -0700 (PDT) Received-SPF: pass (google.com: domain of john.stultz@linaro.org designates 2607:f8b0:400e:c03::22f as permitted sender) client-ip=2607:f8b0:400e:c03::22f; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: domain of john.stultz@linaro.org designates 2607:f8b0:400e:c03::22f as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by mail-pa0-x22f.google.com with SMTP id oz2so33139430pac.2 for ; Thu, 22 Sep 2016 15:04:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=J5PpJImInk0VLed0e1nvhMCe0A3GDzio3OmUclm75V4=; b=D3mqQpy9XB6+yq4k4e2I9nLYq7WW/8qb4diVVYQ2X0HodR7US4kD0AVlgJMMQOX1zn lwH0KWGtjSLLPMZfKNfi8jTkTSbRJfdb0MXYBXrli8PQIdMI83P1lRiJkp1dyTjfGQOP yBxXutrUCKSRNdPB1DH3zQC+kFU+GxeEgft5Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=J5PpJImInk0VLed0e1nvhMCe0A3GDzio3OmUclm75V4=; b=RkK2TimW4PQIakBe6ZrvBMNyDsJ4OjUU3DlwO74XE5SaUMzBGXprIPXs8qOFgAGD4j Fq+Wvd1SoTefTYUXwAh7EcMdq/oOHH9lnw5ERiJrO9sHXay+bye9n8Rr0kREOeXWaJXs wrOgkWMV+fe+EJoVt5SODFhGl/yfZqSzi7Cwhe0WmQ0dIwMFL31eLqez19Ch9V+IdDmU TmsLlDYZBujoYJjrgTcnI6YVh+fobSMdyLpEIAkbZ7zn7XPMSoL1oHEHG7aTwwZiryMs 3ptZnadHobE7xK3I8+WidoLDl2spW/gb1DClDGdAdINB21t6yns2jQ33owXr2QQy5wtD 5xwQ== X-Gm-Message-State: AE9vXwMkq5XKX//68P8U8WVNCyl5fUsp1e/aStlttJAgOR8xKdSC83bBpBqLAYsIuUr9vEt8WTM= X-Received: by 10.66.132.100 with SMTP id ot4mr7244094pab.84.1474581879430; Thu, 22 Sep 2016 15:04:39 -0700 (PDT) Return-Path: Received: from localhost.localdomain (c-73-67-244-238.hsd1.or.comcast.net. [73.67.244.238]) by smtp.gmail.com with ESMTPSA id v24sm6332531pfd.1.2016.09.22.15.04.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 22 Sep 2016 15:04:38 -0700 (PDT) From: John Stultz To: Rob Herring , Amit Pundir , Vishal Bhoj , Michael Scott Cc: John Stultz Subject: [PATCH 1/2] generic: device.mk: Add basic usb, backup and appwidget overlays so Developer Options doesn't crash Date: Thu, 22 Sep 2016 15:04:32 -0700 Message-Id: <1474581873-1389-1-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 1.9.1 Without this, developer options in settings crashes. Signed-off-by: John Stultz --- device.mk | 4 ++++ 1 file changed, 4 insertions(+) -- 1.9.1 diff --git a/device.mk b/device.mk index 6442184..84be102 100644 --- a/device.mk +++ b/device.mk @@ -50,6 +50,10 @@ 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.software.app_widgets.xml:system/etc/permissions/android.software.app_widgets.xml \ + frameworks/native/data/etc/android.software.backup.xml:system/etc/permissions/android.software.backup.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 += \