Check if views is null in getRecentDecorView