SecureWindow

The foreground window is FLAG_SECURE. A secure window makes the underlying capture API fail or return a blank bitmap; this is returned instead of ever storing that blank result as if it were a real screenshot.