On huawei phones DisplayManager.getDisplays() can see the screen recording of 3rd party applications. But when I open the huawei device's own screen recording application, DisplayManager cannot detect it.
I use getDisplays() method (Gets all currently valid logical displays.)
https://developer.android.com/reference/android/hardware/display/DisplayManager
There is no such problem with other android phones like xiaomi or samsung.
I want to detect whether huawei device's own screen recording is turned on