Removing android.software.app_widgets feature from TVs
Dmitri Plotnikov [Sat, 26 Mar 2016 00:30:29 +0000 (17:30 -0700)]
Bug: 26110877
Change-Id: I32ded5588bb21ebf4938620900fc4c121491e778

overlay/frameworks/base/core/res/res/values/config.xml
permissions/tv_core_hardware.xml

index 03f3c5b..04b46ce 100644 (file)
@@ -44,4 +44,8 @@
     <bool name="config_hasPermanentDpad">true</bool>
 
     <bool name="config_defaultInTouchMode">false</bool>
+
+    <!-- Launcher customization requires AppWidgetService, but otherwise
+         home screen widgets are not supported on TV -->
+    <bool name="config_enableAppWidgetService">true</bool>
 </resources>
index b19417b..d6b9c0b 100644 (file)
@@ -26,7 +26,6 @@
     <feature name="android.hardware.screen.landscape" />
     <feature name="android.hardware.type.television" />
 
-    <feature name="android.software.app_widgets" />
     <feature name="android.software.backup" />
     <feature name="android.software.leanback" />
     <feature name="android.software.leanback_only" />