Q: Why though?
A: Useful for phones with small displays, or when u intentionally use a large DPI for comfortable reading (like me), but split screen makes the apps tiny and unusable, and you can't manually keep changing the dpi.
Q: What does it do?
A: On every window change event, from the AccesibilityService, it checks if one of the windows is TYPE_SPLIT_SCREEN_DIVIDER And runs "wm density someDPI" accordingly.
It needs Accessibility and root for the above operations.
Q: Marshmallow has split screen too
A: MM doesn't have TYPE_SPLIT_SCREEN_DIVIDER
Q: This thing is stealing my passwords through Accessibility and root
A: Source: https://github.com/kawaiiDango/SSScripts