Fixed a bug where the icon would dissappear
If we were inflated on the lockscreen as the only child the icon would dissappear. Test: send multiple messages, kill systemui, observe Change-Id: I81c433292f6839920b99ac124ca1dd17eb6e962e
This commit is contained in:
@@ -2018,7 +2018,8 @@ public class ExpandableNotificationRow extends ActivatableNotificationView {
|
||||
|
||||
@Override
|
||||
public boolean isAboveShelf() {
|
||||
return mIsPinned || mHeadsupDisappearRunning || (mIsHeadsUp && mAboveShelf);
|
||||
return !isOnKeyguard()
|
||||
&& (mIsPinned || mHeadsupDisappearRunning || (mIsHeadsUp && mAboveShelf));
|
||||
}
|
||||
|
||||
public void setShowAmbient(boolean showAmbient) {
|
||||
|
||||
Reference in New Issue
Block a user