Merge "Enable the PowerControl widget that was disabled for honeycomb."

This commit is contained in:
Amith Yamasani
2011-06-16 11:10:08 -07:00
committed by Android (Google) Code Review
2 changed files with 4 additions and 1 deletions

View File

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

View File

@@ -22,4 +22,7 @@
<bool name="has_dock_settings">false</bool> <bool name="has_dock_settings">false</bool>
<!-- Whether there is a silent mode checkbox --> <!-- Whether there is a silent mode checkbox -->
<bool name="has_silent_mode">true</bool> <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> </resources>