Implement the power-control widget.

This widget allows uses to turn on/off bluetooth, wifi, gps, and sync,
and adjust brightness without going through the settings menu.

The widget provider updates the settings when the buttons are pressed.
The widget provider is also a receiver for events indicating that the
status was updated elsewhere and the buttons need to be changed.
This commit is contained in:
Ken Shirriff
2009-06-08 13:49:05 -07:00
parent 5ed2c4ad43
commit 03a6110b4f
23 changed files with 548 additions and 6 deletions

View File

@@ -1649,6 +1649,6 @@ found in the list of installed applications.</string>
<!-- Menu label for refreshing with latest usage numbers -->
<string name="menu_stats_refresh">Refresh</string>
<!-- Power Control Widget -->
<string name="gadget_title">Power Control</string>
</resources>