In the case of system interfaces used by third-party manufacturers using Android, you can see solutions that allow you to maintain greater privacy when recording your screen. By recording the screen, users can even turn off notifications for the duration of the recording. The upcoming changes, however, will change the screen recording process in Android, which will allow them to be used in all phones using this system.

These changes are to allow user to limit recording to one selected application. Users are also to gain the ability to disable the display of notifications during screen recording. Preliminary visualizations of how screen recording works after the changes have already surfaced online. Google wants to introduce these changes with the release of Android 14.

source