Fixed that HUNs wouldn't show when the keyguard is occluded
Change-Id: Ia6fcb57eceb8e3b3e0d193d9f274cc64343fe5af Fixes: 30770767
This commit is contained in:
@@ -2504,8 +2504,7 @@ public abstract class BaseStatusBar extends SystemUI implements
|
|||||||
|
|
||||||
boolean inUse = mPowerManager.isScreenOn()
|
boolean inUse = mPowerManager.isScreenOn()
|
||||||
&& (!mStatusBarKeyguardViewManager.isShowing()
|
&& (!mStatusBarKeyguardViewManager.isShowing()
|
||||||
|| mStatusBarKeyguardViewManager.isOccluded())
|
|| mStatusBarKeyguardViewManager.isOccluded());
|
||||||
&& !mStatusBarKeyguardViewManager.isInputRestricted();
|
|
||||||
try {
|
try {
|
||||||
inUse = inUse && !mDreamManager.isDreaming();
|
inUse = inUse && !mDreamManager.isDreaming();
|
||||||
} catch (RemoteException e) {
|
} catch (RemoteException e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user