version: cude 5.4 MTK 3.2
fix:优化AIDL报错 update:
This commit is contained in:
@@ -80,16 +80,16 @@ android {
|
|||||||
//酷比魔方
|
//酷比魔方
|
||||||
cube {
|
cube {
|
||||||
flavorDimensions "default"
|
flavorDimensions "default"
|
||||||
versionCode 44
|
versionCode 45
|
||||||
versionName "5.3"
|
versionName "5.4"
|
||||||
buildConfigField "String", "platform", '"ZhanRuiCube"'
|
buildConfigField "String", "platform", '"ZhanRuiCube"'
|
||||||
}
|
}
|
||||||
|
|
||||||
//MTK
|
//MTK
|
||||||
MTKnewly {
|
MTKnewly {
|
||||||
flavorDimensions "default"
|
flavorDimensions "default"
|
||||||
versionCode 22
|
versionCode 23
|
||||||
versionName "3.1"
|
versionName "3.2"
|
||||||
buildConfigField "String", "platform", '"MTK"'
|
buildConfigField "String", "platform", '"MTK"'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -176,7 +176,6 @@ public class SplashActivity extends AppCompatActivity {
|
|||||||
// }
|
// }
|
||||||
// ActivityManager mAm = (ActivityManager) getSystemService(Context.ACTIVITY_SERVICE);
|
// ActivityManager mAm = (ActivityManager) getSystemService(Context.ACTIVITY_SERVICE);
|
||||||
// mAm.killBackgroundProcesses("com.android.documentsui");
|
// 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)));
|
Log.e(TAG, "debugTest: SPUtils all " + new Gson().toJson(SPUtils.getAll(this)));
|
||||||
try {
|
try {
|
||||||
PackageManager packageManager = getPackageManager();
|
PackageManager packageManager = getPackageManager();
|
||||||
|
|||||||
@@ -60,10 +60,10 @@ public class BaseApplication extends MultiDexApplication {
|
|||||||
@Override
|
@Override
|
||||||
public void onCreate() {
|
public void onCreate() {
|
||||||
super.onCreate();
|
super.onCreate();
|
||||||
if (SystemUtils.isMainProcessName(this, Process.myPid())) {
|
//非主进程不初始化
|
||||||
//非主进程不初始化
|
// if (SystemUtils.isMainProcessName(this, Process.myPid())) {
|
||||||
init();
|
init();
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
private void init() {
|
private void init() {
|
||||||
@@ -89,6 +89,7 @@ public class BaseApplication extends MultiDexApplication {
|
|||||||
Aria.init(this);
|
Aria.init(this);
|
||||||
Aria.get(this).getDownloadConfig().setMaxTaskNum(1);
|
Aria.get(this).getDownloadConfig().setMaxTaskNum(1);
|
||||||
Aria.get(this).getDownloadConfig().setConvertSpeed(true);
|
Aria.get(this).getDownloadConfig().setConvertSpeed(true);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void catchException() {
|
private void catchException() {
|
||||||
|
|||||||
Reference in New Issue
Block a user