Fix:Appears black screen for a while

https://github.com/CyanogenMod/android_frameworks_base/commit/77630d8a88cd4d01671a1364a79f7309f19d3a74