OSDN Git Service

Add android.settings.VIEW_ADVANCED_POWER_USAGE_DETAIL
authorSean Stout <sstout@google.com>
Fri, 5 Apr 2019 19:34:44 +0000 (12:34 -0700)
committerSean Stout <sstout@google.com>
Tue, 9 Apr 2019 20:43:28 +0000 (13:43 -0700)
commit6441723a311ab300238fdb734aeb4e07f44768ed
tree982d11c0900a378e4052343ae56ec5aa2afab588
parent44427259e8206d4e66ac2f268a755450a7613c94
Add android.settings.VIEW_ADVANCED_POWER_USAGE_DETAIL

This intent action opens the advanced power usage details screen for
a provided application.

Test: adb shell am start -a \
"android.settings.VIEW_ADVANCED_POWER_USAGE_DETAIL" -d \
"package:com.google.android.deskclock" --ez \
"request_ignore_background_restriction" 1
Bug: 129901520

Test: None
Bug: 129901520
Change-Id: Ib19228111c71ef1cfb5888f859a7efcf92a01754
AndroidManifest.xml
src/com/android/settings/fuelgauge/AdvancedPowerUsageDetail.java
src/com/android/settings/fuelgauge/AdvancedPowerUsageDetailActivity.java [new file with mode: 0644]