Revert "fix green screen bug of apps using camera"

This reverts commit 8d4a85d17559bca0d4027b9421ca5557b66386ed.