Loading policy/src/com/android/internal/policy/impl/keyguard/KeyguardUpdateMonitor.java +3 −2 Original line number Diff line number Diff line Loading @@ -261,12 +261,13 @@ public class KeyguardUpdateMonitor { } /** * Determine whether the device is plugged in (USB or power). * Determine whether the device is plugged in (USB, power, or wireless). * @return true if the device is plugged in. */ boolean isPluggedIn() { return plugged == BatteryManager.BATTERY_PLUGGED_AC || plugged == BatteryManager.BATTERY_PLUGGED_USB; || plugged == BatteryManager.BATTERY_PLUGGED_USB || plugged == BatteryManager.BATTERY_PLUGGED_WIRELESS; } /** Loading Loading
policy/src/com/android/internal/policy/impl/keyguard/KeyguardUpdateMonitor.java +3 −2 Original line number Diff line number Diff line Loading @@ -261,12 +261,13 @@ public class KeyguardUpdateMonitor { } /** * Determine whether the device is plugged in (USB or power). * Determine whether the device is plugged in (USB, power, or wireless). * @return true if the device is plugged in. */ boolean isPluggedIn() { return plugged == BatteryManager.BATTERY_PLUGGED_AC || plugged == BatteryManager.BATTERY_PLUGGED_USB; || plugged == BatteryManager.BATTERY_PLUGGED_USB || plugged == BatteryManager.BATTERY_PLUGGED_WIRELESS; } /** Loading