am d613437b: am 797fd661: am 61ffcaca: Merge "Doze: Ensure a doze reset happens after leaving keyguard." into lmp-dev
* commit 'd613437ba4eb18c12135295fc743e37011fb2f9b': Doze: Ensure a doze reset happens after leaving keyguard.
This commit is contained in:
@@ -1738,6 +1738,10 @@ public class NotificationPanelView extends PanelView implements
|
||||
updateKeyguardStatusBarVisibility();
|
||||
}
|
||||
|
||||
public boolean isDozing() {
|
||||
return mDozing;
|
||||
}
|
||||
|
||||
private static void setBackgroundColorAlpha(final View target, int rgb, int targetAlpha,
|
||||
boolean animate) {
|
||||
int currentAlpha = getBackgroundAlpha(target);
|
||||
|
||||
@@ -3641,7 +3641,7 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
|
||||
}
|
||||
|
||||
private void updateDozingState() {
|
||||
if (mState != StatusBarState.KEYGUARD) {
|
||||
if (mState != StatusBarState.KEYGUARD && !mNotificationPanel.isDozing()) {
|
||||
return;
|
||||
}
|
||||
mNotificationPanel.setDozing(mDozing);
|
||||
|
||||
Reference in New Issue
Block a user