- Aug 31, 2012
- 9
- 25
Issue is present on the Mi 8.
It seems to be related to ambient display, namely always on display. If it is toggled on, when locking the phone, the status bar turns black and after another half a second the rest of the rest of the display area does.
If AOD is disabled the issue is not present.
The same thing has been happening since June releases if not earlier.
This is not present on the official stable release (xiaomi one not yours) so not sure if it's something related to the chiana base that is used for xiaomi.eu as i don't have access to the china rom.
It's not a big deal as it does not affect the functionality of anything, it's more of a cosmetic issue that i suspect affects all the AOD enabled devices (though I can't test on anything apart from the Mi 8).
I have the same problem. As for Chrome, it happens when you use gestures, which is unfortunate as I've already switched and got accustomed to the gesture system in MIUI 10.I have the same issue with status bar on redmi k20 pro 9.8.1. It looks bad, while locking screen first status bar turns black and then the screen goes off. Please fix this guys
No problem with chrome tho
I tried with fingerprint disabled and this bug there isn't anymore. So this bug there is only with fingerprint ON for Mi 9 @Igor EisbergWe don't have any of these devices, and can't reproduce it on other devices that we have, so... nothing we can do here...
We don't have any of these devices, and can't reproduce it on other devices that we have, so... nothing we can do here...
I asked for an evidence? My reply was very clear... I can't telepathically fix issues I don't have.Here is evidence, look at the notification bar at the top. This has been happening for a while but it would be cool to fix it
MEGA
MEGA provides free cloud storage with convenient and powerful always-on privacy. Claim your free 20GB nowmega.nz
Ooohhh yeaaaah, I fixed it!
Problem is with ScrimView +id/scrim_in_front in status bar. It has default black color and class com.android.systemui.statusbar.phone.ScrimController changes its alpha between 0.0f and 1.0f under different circumstances. Front scrim covers everything inside status bar/notification drawer/lock screen. Switching off AOD was probably fixing it because there are different conditions for this in ScrimController and AOD being active is one of them. Root problem is probably deeper, e.g. dozing (another condition) being activated too early when you press power button and not when screen actually turns off, or something like that.
I just modified method com.android.systemui.statusbar.ScrimView.setScrimColor(int color) to change color from black to transparent whenever it tries to set it for scrim_in_front.
Ooohhh yeaaaah, I fixed it!
Problem is with ScrimView +id/scrim_in_front in status bar. It has default black color and class com.android.systemui.statusbar.phone.ScrimController changes its alpha between 0.0f and 1.0f under different circumstances. Front scrim covers everything inside status bar/notification drawer/lock screen. Switching off AOD was probably fixing it because there are different conditions for this in ScrimController and AOD being active is one of them. Root problem is probably deeper, e.g. dozing (another condition) being activated too early when you press power button and not when screen actually turns off, or something like that.
I just modified method com.android.systemui.statusbar.ScrimView.setScrimColor(int color) to change color from black to transparent whenever it tries to set it for scrim_in_front.
It's an interesting finding, but given the fact I don't have a device other than Mi 5 and Mi 6, there nothing I can do to investigate this any further...Ooohhh yeaaaah, I fixed it!
Problem is with ScrimView +id/scrim_in_front in status bar. It has default black color and class com.android.systemui.statusbar.phone.ScrimController changes its alpha between 0.0f and 1.0f under different circumstances. Front scrim covers everything inside status bar/notification drawer/lock screen. Switching off AOD was probably fixing it because there are different conditions for this in ScrimController and AOD being active is one of them. Root problem is probably deeper, e.g. dozing (another condition) being activated too early when you press power button and not when screen actually turns off, or something like that.
I just modified method com.android.systemui.statusbar.ScrimView.setScrimColor(int color) to change color from black to transparent whenever it tries to set it for scrim_in_front.
We use essential cookies to make this site work, and optional cookies to enhance your experience. Cookies are also used for ads personalisation