Merge "Enable the PowerControl widget that was disabled for honeycomb."
This commit is contained in:
committed by
Android (Google) Code Review
commit
0ae7893ab9
@@ -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" />
|
||||||
|
@@ -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>
|
||||||
|
Reference in New Issue
Block a user