OSDN Git Service

Send BATTERY_CHANGED if maxChargingCurrent changes
authorAdrian Roos <roosa@google.com>
Tue, 21 Jul 2015 23:20:36 +0000 (16:20 -0700)
committerAdrian Roos <roosa@google.com>
Tue, 21 Jul 2015 23:20:39 +0000 (16:20 -0700)
commit76dc5a51cde1db0e8e193f22bc8a7ace9edef53d
treeb8c20c485ed0c4bd4bdb47c9c9112db5dd4f4d3b
parentb020b0d97d80f0ebb550ce58a5b36787cfcf6df8
Send BATTERY_CHANGED if maxChargingCurrent changes

Fixes a bug where the charging current on Keyguard was stale
on devices that don't immediately set the charging current.

Follow-up to I2e5c21dd7ec028ce47fb03ab71e74f7fccaa9e36

Bug: 8099739
Change-Id: I4b5b3b1231b1372310206941386dba743d5f88f4
packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java
packages/SystemUI/src/com/android/systemui/statusbar/KeyguardIndicationController.java
services/core/java/com/android/server/BatteryService.java