History log of /packages/apps/Settings/src/com/android/settings/fuelgauge/BatteryEntry.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1e887c17e20f505cb521faae626253afee5fa552 06-Sep-2017 jackqdyulei <jackqdyulei@google.com> Make system item has a consistent name.

In battery settings, the system item contains many packages. In old
behaviour it will use the first package(which has legal name and icon)
to represent this item. This behaviour is not consistent.

In this cl, we always use package "android" to extract name and icon
if it is system item.

Bug: 65090883
Test: RunSettingsRoboTests
Change-Id: Ibb7f85c06ab1745867f1eaa666cea32c8d3295a6
/packages/apps/Settings/src/com/android/settings/fuelgauge/BatteryEntry.java
39f552eb9193bd8811968f5539ae9023a92c0268 11-Oct-2016 Sundeep Ghuman <sghuman@google.com> Fix App name and icon in Settings Battery details.

Set correct defaultPackageName and Label for Apps in BatteryEntry.java
so PowerUsageDetails will show the correct information.

Bug: 24187923
Fixes: 24187923
Test: Open Settings, click on Apps, select any app. Note the name and
icon on the Header. Click the Battery item. The app name and icon should
match that of the previous name, as opposed to showing the package name
and default Android icon.
Change-Id: I7b6c3b404fcd298c6670cceecd29915abd325d1f
/packages/apps/Settings/src/com/android/settings/fuelgauge/BatteryEntry.java
6e58d516f05bbceabdddd3aa08a94fcc32858e71 25-Aug-2015 Wei Liu <luciferleo@google.com> Refactor UidDetailProvider and its dependencies to SettingsLib.

so that it can be reused by Wear app data usage.

Change-Id: Id05f888274e15fbeffa175ee8073de02a8966867
/packages/apps/Settings/src/com/android/settings/fuelgauge/BatteryEntry.java
8f743471d5367935aea7663e362913e9b68b8e61 14-Aug-2015 Adam Lesinski <adamlesinski@google.com> BatteryStats: Fix coalescing of shared app GIDs and system UIDs

UIDs that consumed power and were actually shared app GIDs are now
coelsced for system apps as well as regular applications. In addition,
system UIDs like logd, NFC, DRM, etc are coalesced into Android System.

Bug:23189342
Change-Id: I6c8eb4baec66fba3d1f71a155d8ea1fe920ffec9
/packages/apps/Settings/src/com/android/settings/fuelgauge/BatteryEntry.java
6588a82823cf81a9aff3c18045b51844fb015c8a 13-Jun-2015 Brian Carlstrom <bdc@google.com> dex2oat should show something friendlier in Settings -> Battery

Bug: 13161823
Change-Id: If68d91900c88f33f5656a9e336633d53a5e900ce
/packages/apps/Settings/src/com/android/settings/fuelgauge/BatteryEntry.java
e35df2ff3b8188bdf710f84390f0fc60ec329ab5 06-Jun-2015 Ruben Brunk <rubenbrunk@google.com> Merge "Add UI for camera + flashlight battery reporting." into mnc-dev
2627190bac86184ce7bfb64f3bb44b98b8c03ff6 04-Jun-2015 Ruben Brunk <rubenbrunk@google.com> Add UI for camera + flashlight battery reporting.

Bug: 11694505
Change-Id: Idca51a2e8cc7c2fb3e9d10f84f94e66600dee6fa
/packages/apps/Settings/src/com/android/settings/fuelgauge/BatteryEntry.java
f2819e0eada8af3835141857b5d499bca90774a6 02-Jun-2015 Jason Monk <jmonk@google.com> Fix battery usage screen issues

Tint icons properly
Bug: 21077770

Show better icons for wifi and bt (remove the old ones)
Bug: 21172936

Also add a way to show fake items in power list for testing.

Change-Id: I6b6804673a68190ebc3f2ea32802e30811a7f5b2
/packages/apps/Settings/src/com/android/settings/fuelgauge/BatteryEntry.java
0f5440f6e26581f51d67fe3cf32af9dd840e5519 30-Oct-2014 Alexandra Gherghina <alexgherghina@google.com> Apply predefined icon and label to managed profiles

Bug: 18132630
Change-Id: Ie6cfee420847d6992accb0bc0ca3f5535260bc55
/packages/apps/Settings/src/com/android/settings/fuelgauge/BatteryEntry.java
0ba89bd54c4b44b3803342da10b0c08b0bf76ad4 10-Oct-2014 Alan Viverette <alanv@google.com> Update Settings to use themed Context.getDrawable()

Explicit null theme is passed when using Resources.getDrawable() and
no theme is available, e.g. when using getResourcesForApplication().
This fixes an issue with ic_text_dot theming and helps avoid similar
issues in the future.

BUG: 17648301
Change-Id: I3e97c3490b6f2a55744f567b21284f2935ae9af7
/packages/apps/Settings/src/com/android/settings/fuelgauge/BatteryEntry.java
3aaf0eb457639b52228143b84d9624bf73d862ea 07-Aug-2014 Zoltan Szatmary-Ban <szatmz@google.com> Fix app icons on some Settings screens

App icons appeared as the default icon and sometimes without the corp badge on
Data Usage and Battery screens for applications that were only installed for
the managed profile. This CL fixes the issue.

Bug:16705204
Change-Id: I778d36554feb19f28f3cb9321a291cab3d3e17bb
/packages/apps/Settings/src/com/android/settings/fuelgauge/BatteryEntry.java
95b86a5488a27d95bda8b6db1f608d6ce55dae8a 24-Jul-2014 Alexandra Gherghina <alexgherghina@google.com> Refactoring useless UserUtils class

Bug: 16542609
Change-Id: Iadb83c5e378cd342ea89d6e224ddc45e6f940c8b
/packages/apps/Settings/src/com/android/settings/fuelgauge/BatteryEntry.java
6fd48e224f89e4d4e154dcf2e494c201293cc167 01-Jul-2014 Dianne Hackborn <hackbod@google.com> Issue #15986092: Add power tracking of flashlight.

Also improve drawing of date markers to allow a middle
marker for really looong durations.

Change-Id: I0c12ec9b6de102360d9171627787462dfa58b7ef
/packages/apps/Settings/src/com/android/settings/fuelgauge/BatteryEntry.java
002b29fafc327afd86109e59c27c4a5ddd842492 11-Feb-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #12957032 Stability-Sys: Java crash in com.android.settings: java.lang.NullPointerException:
...Attempt to invoke virtual method 'boolean android.os.Handler.sendEmptyMessage(int)' on a null object reference

- prevent NPE by checking the nullity of the Handler reference
- remove dead code
- rename mHandler to sHandler as it is a static

Change-Id: I7f4101f860f24b0cd49a4656971e9b54e55c1286
/packages/apps/Settings/src/com/android/settings/fuelgauge/BatteryEntry.java
7c80af410b09fa14b6fdb5ecec14b6b96562de4c 16-Jan-2014 Dianne Hackborn <hackbod@google.com> Switch to BatteryStatsHelper implementation in the framework.

Change-Id: I3ad051e029885af70a6bd14a1351b32860ba565d
/packages/apps/Settings/src/com/android/settings/fuelgauge/BatteryEntry.java