version: cude 5.4 MTK 3.2
fix:优化AIDL报错 update:
This commit is contained in:
@@ -80,16 +80,16 @@ android {
|
||||
//酷比魔方
|
||||
cube {
|
||||
flavorDimensions "default"
|
||||
versionCode 44
|
||||
versionName "5.3"
|
||||
versionCode 45
|
||||
versionName "5.4"
|
||||
buildConfigField "String", "platform", '"ZhanRuiCube"'
|
||||
}
|
||||
|
||||
//MTK
|
||||
MTKnewly {
|
||||
flavorDimensions "default"
|
||||
versionCode 22
|
||||
versionName "3.1"
|
||||
versionCode 23
|
||||
versionName "3.2"
|
||||
buildConfigField "String", "platform", '"MTK"'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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