am fa3414a7: Don\'t show battery info when unplugging (fixes bug 2128323).
Merge commit 'fa3414a7d313fd1f4bc80cf2fd42fbdb33908197' * commit 'fa3414a7d313fd1f4bc80cf2fd42fbdb33908197': Don't show battery info when unplugging (fixes bug 2128323).
This commit is contained in:
@@ -343,7 +343,8 @@ class LockScreen extends LinearLayout implements KeyguardScreen, KeyguardUpdateM
|
||||
}
|
||||
|
||||
private void updateStatusLines() {
|
||||
if (!mStatus.showStatusLines()) {
|
||||
if (!mStatus.showStatusLines()
|
||||
|| (mCharging == null && mNextAlarm == null)) {
|
||||
mStatus1.setVisibility(View.INVISIBLE);
|
||||
mStatus2.setVisibility(View.INVISIBLE);
|
||||
} else if (mCharging != null && mNextAlarm == null) {
|
||||
|
||||
Reference in New Issue
Block a user