Enable the PowerControl widget that was disabled for honeycomb.

Widget will be selectively disabled for certain devices.

Change-Id: I0c8835e70e21e188d8e2131cb22980744abe8524
This commit is contained in:
Amith Yamasani
2011-06-15 18:00:27 -07:00
parent dd6efe17e0
commit b4b1b400d9
2 changed files with 4 additions and 1 deletions

View File

@@ -1150,7 +1150,7 @@
<receiver android:name=".widget.SettingsAppWidgetProvider"
android:label="@string/gadget_title"
android:exported="false"
android:enabled="false">
android:enabled="@bool/has_powercontrol_widget">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
<action android:name="android.net.wifi.WIFI_STATE_CHANGED" />

View File

@@ -22,4 +22,7 @@
<bool name="has_dock_settings">false</bool>
<!-- Whether there is a silent mode checkbox -->
<bool name="has_silent_mode">true</bool>
<!-- Whether the power control widget is enabled for this device. Should be overridden for
specific product builds. -->
<bool name="has_powercontrol_widget">true</bool>
</resources>