Utils.safeForeach 遍历回调时出现NullPointerException: Attempt to invoke interface method 或数组越界

近期在工做时发现了一个有趣的bug,切换语言时,几率性出现crash ,查看相关log,发现是调用到java @VisibleForTesting protected void fireConfigChanged(ZenModeConfig config) { Utils.safeForeach(mCallbacks, c -> c.onConfigChanged(conf
相关文章
相关标签/搜索