/**
* Obtain a {@link CarrierConfigManager} instance associated with specified {@link Context}
*
* @param context Context
* @return {@link CarrierConfigManager} associated with specified {@link Context}
* @throws InvalidContextException if {@link CarrierConfigManager} can't be obtained
* from specified {@link Context}
*/
@NonNull
@RequiresApi(Build.VERSION_CODES.M)
public static CarrierConfigManager getCarrierConfigManager(@NonNull Context context) {
return validate(context.getSystemService(Context.CARRIER_CONFIG_SERVICE));
}
ContextUtils.java 文件源码
java
阅读 29
收藏 0
点赞 0
评论 0
项目:android-wheels
作者:
评论列表
文章目录