修改native兼容cacheAsBitmap