OSDN Git Service

Add new button to report battery usage to the developer.
authorDianne Hackborn <hackbod@google.com>
Mon, 22 Feb 2010 04:07:27 +0000 (20:07 -0800)
committerDianne Hackborn <hackbod@google.com>
Mon, 22 Feb 2010 19:31:37 +0000 (11:31 -0800)
commitcb497546ba55ef98fb561dd9a07c7a485a918f4b
tree0acb67261d4bfe2a51d95451fb1f8c2464fdbf8f
parentd814bb7309f052a0b242047ab9a9cdcbaffc6671
Add new button to report battery usage to the developer.

This displays a new button on the application battery usage details
screen for the user to send a bug report to the developer, if that is
possible to do.  Also adds a button to directly force stop the app
from the details screen, and uses the new facilities to determine
whether the button should be enabled.
res/layout/power_usage_action_item.xml
res/layout/power_usage_details.xml
res/layout/running_services.xml
src/com/android/settings/InstalledAppDetails.java
src/com/android/settings/RunningServices.java
src/com/android/settings/fuelgauge/PowerUsageDetail.java
src/com/android/settings/fuelgauge/PowerUsageSummary.java