version: cude 5.4 MTK 3.2
fix:优化AIDL报错 update:
This commit is contained in:
@@ -176,7 +176,6 @@ public class SplashActivity extends AppCompatActivity {
|
||||
// }
|
||||
// ActivityManager mAm = (ActivityManager) getSystemService(Context.ACTIVITY_SERVICE);
|
||||
// mAm.killBackgroundProcesses("com.android.documentsui");
|
||||
Log.e(TAG, "debugTest: " + new Gson().toJson(MMKV.defaultMMKV().allKeys()));
|
||||
Log.e(TAG, "debugTest: SPUtils all " + new Gson().toJson(SPUtils.getAll(this)));
|
||||
try {
|
||||
PackageManager packageManager = getPackageManager();
|
||||
|
||||
@@ -60,10 +60,10 @@ public class BaseApplication extends MultiDexApplication {
|
||||
@Override
|
||||
public void onCreate() {
|
||||
super.onCreate();
|
||||
if (SystemUtils.isMainProcessName(this, Process.myPid())) {
|
||||
//非主进程不初始化
|
||||
init();
|
||||
}
|
||||
//非主进程不初始化
|
||||
// if (SystemUtils.isMainProcessName(this, Process.myPid())) {
|
||||
init();
|
||||
// }
|
||||
}
|
||||
|
||||
private void init() {
|
||||
@@ -89,6 +89,7 @@ public class BaseApplication extends MultiDexApplication {
|
||||
Aria.init(this);
|
||||
Aria.get(this).getDownloadConfig().setMaxTaskNum(1);
|
||||
Aria.get(this).getDownloadConfig().setConvertSpeed(true);
|
||||
|
||||
}
|
||||
|
||||
private void catchException() {
|
||||
|
||||
Reference in New Issue
Block a user