Clock in status bar temporarily disappears when heads-up notification arrives (even when it's not on the left side)
Expected Behavior
Clock should stay visible if it's on the right side of status bar.
Current Behavior
When the new heads-up notification arrives, the clock hides temporarily.
Possible Solution
I'm pretty sure this happens because the default status bar clock position in Pie is on the left, and it automatically hides in order to avoid overlapping with incoming heads-up notification. However, in Lineage when the clock is moved to the right (where it should be - thanks Lineage for having this option), there is no need to hide it, because it doesn't obstruct anything.
Possible solution would be to check clock position in status bar, and if it's on the right, don't hide it. I'm not sure about what if the clock is on the middle though, because if the app's name is short, it's not obstructing it, but if is, then there might be some overlapping happening, so either check for app's name length, or just play it safe and let it hide as in default.
Steps to Reproduce
- Settings > System > Status bar > Clock position = Right
- Make sure Heads-up notifications are turned on (they are missing from Settings [another thing to fix right there], but can be enabled through quick settings tile)
- Receive the message or create some other notification inducing event.
- Watch the clock in the top right corner disappear - Profit.
Video of me reproducing the problem (pay attention to the clock in the top right corner when notification appears) https://drive.google.com/open?id=16oONW7u0HqIUmKPL5BSpV-OS9mc4rlDS
/device gemini /version lineage-16.0 /date 2019-03-24 /kernel 3.18.120-g43eaeb9 /baseband TH20c1.9-1226_2340_46c2936, TH20c1.9-1226_2340_46c2936 /mods Magisk, GApps, AdAway
I have read the directions.