Magisk-Modules-Repo / HideNavBar

GNU General Public License v3.0
498 stars 55 forks source link

Hiding status bar on Android 11 #36

Closed LaySoft closed 3 years ago

LaySoft commented 3 years ago

This module supports hiding status bar under Android 11? I tried it with crDroid 7.3 Custom ROM on OnePlus 5T, but it doesn't work for me.

DanGLES3 commented 3 years ago

Can't you just use something like the systemui tuner app to enable systemwide status bar Immersive mode? That should achieve something similar to what you want

LaySoft commented 3 years ago

All immersive mode apps (like this: https://play.google.com/store/apps/details?id=com.ivianuu.immersivemodemanager&hl=en&gl=US) doesn't work on Android 11. That's why I thought your module solved the problem.

DanGLES3 commented 3 years ago

All immersive mode apps (like this: https://play.google.com/store/apps/details?id=com.ivianuu.immersivemodemanager&hl=en&gl=US) doesn't work on Android 11. That's why I thought your module solved the problem.

To be fair I couldn't fix this even if I wanted to, hiding the status bar the same way I hide the navigation bar would most likely just break things pretty badly, also odd that those apps aren't working for you as I've heard them working for some people on Android 11

ghost commented 2 years ago

Overscan(which is the reason status bar hiding works below A10) borked by google since A11. Those apps you mention, use overscaning to hide status bar. Now you can't.

DanGLES3 commented 2 years ago

Overscan(which is the reason status bar hiding works below A10) borked by google since A11. Those apps you mention, use overscaning to hide status bar. Now you can't.

Tbh i don't think they were using overscan, but what they used to use to hide the status bar did indeed also break on A11

There used to be a global policy that controled hiding the status and navigation bar (they'd show up again if swiped down/up) and that policy was removed on A11