Blankj / Blankj/AndroidUtilCode
LanguageUtil.attachBaseContext报空指针问题
Open
bug
- Dominant language
- Java
- Stars
- 33.6k
- Forks
- 10.6k
- PR merge metrics
- No merged PRs in 30d
Description
## 描述 Bug
在Application的attachBaseContext中调用LanguageUtil.attachBaseContext方法后会返回一个空指针的bug。
- AndroidUtilCode 的版本:utilcodex:1.30.6
- 出现 Bug 的设备型号:
- 设备的 Android 版本:
## 相关代码
@Override
protected void attachBaseContext(Context base) {
if (base == null) {
super.attachBaseContext(null);
}else{
super.attachBaseContext(LanguageUtil.attachBaseContext(base));
}
```
put your code here
```
## 异常堆栈
```
put the stack of crash here
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.