fix issue https://github.com/CyanMobile/android_frameworks_base_cyanmobile/issues/24