version:1.6

fix:修复浏览器更新
add:
This commit is contained in:
2021-12-10 14:29:55 +08:00
parent 34fa9fcdb7
commit 5f3b3f51a0
6 changed files with 35 additions and 21 deletions

View File

@@ -9,19 +9,20 @@ def releaseTime() {
}
android {
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
Set<File> fileSet = options.bootstrapClasspath.getFiles()
List<File> newFileList = new ArrayList<>();
//JAVA语法可连续调用输入参数建议为相对路径
newFileList.add(new File("libs/framework.jar"))
//最后将原始参数添加
newFileList.addAll(fileSet)
options.bootstrapClasspath = files(
newFileList.toArray()
)
}
}
//Android Studio 4.0 之后使用这个但是会把jar打包进apk
// gradle.projectsEvaluated {
// tasks.withType(JavaCompile) {
// Set<File> fileSet = options.bootstrapClasspath.getFiles()
// List<File> newFileList = new ArrayList<>();
// //JAVA语法可连续调用输入参数建议为相对路径
// newFileList.add(new File("libs/framework.jar"))
// //最后将原始参数添加
// newFileList.addAll(fileSet)
// options.bootstrapClasspath = files(
// newFileList.toArray()
// )
// }
// }
compileSdkVersion 29
buildToolsVersion "30.0.3"
@@ -58,8 +59,8 @@ android {
//新平台正式
newly {
flavorDimensions "default"
versionCode 5
versionName "1.4"
versionCode 7
versionName "1.6"
/*********************************极光推送************************************/
manifestPlaceholders = [
JPUSH_PKGNAME: "com.aoleyun.sn",
@@ -280,7 +281,7 @@ android {
}
dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
// implementation fileTree(dir: "libs", include: ["*.jar"])
compileOnly files('libs/framework.jar')
implementation 'androidx.appcompat:appcompat:1.3.1'

View File

@@ -101,7 +101,19 @@ public class SplashActivity extends AppCompatActivity {
}
private void debugTest() {
if (!BuildConfig.DEBUG) return;
// if (!BuildConfig.DEBUG) return;
// File file = new File("/system/media/bootanimation2.zip");
// if (file.exists()){
// Log.e(TAG, "debugTest: "+"file.exists" );
// }else {
// Log.e(TAG, "debugTest: "+"file not exists" );
// }
// if (file.delete()){
// Log.e(TAG, "debugTest: "+"file.delete" );
// }else {
// Log.e(TAG, "debugTest: "+"file delete failed" );
// }
// Utils.getHardware(this);
// setWebView();
// hideStatusBar();
@@ -111,7 +123,7 @@ public class SplashActivity extends AppCompatActivity {
String only_jgy_shortcut_list = Settings.System.getString(getContentResolver(), JGYActions.ACTION_JGY_SHORTCUTLIST);
Log.i(TAG, "debugTest: only_jgy_shortcut_list:" + only_jgy_shortcut_list);
String qch_app_forbid = Settings.System.getString(getContentResolver(), "qch_app_forbid");
Settings.System.putString(getContentResolver(), "qch_app_forbid", qch_app_forbid + ",com.uiui.browser");
Settings.System.putString(getContentResolver(), "qch_app_forbid", qch_app_forbid + ",com.aoleyun.browser");
Log.e(TAG, "debugTest: qch_app_forbid:" + qch_app_forbid);
Log.i(TAG, "debugTest: ip = " + JGYUtils.getInstance().getIPAddress());
Log.i(TAG, "debugTest: getPackage = " + Utils.getPackage());

View File

@@ -16,7 +16,7 @@ public class PackageNames {
public static final String APPSTORE = "com.aoleyun.appstore";
public static final String DESKTOP = "com.aoleyun.os";
public static final String NOTIFICATIONS = "com.aoleyun.info";
public static final String BROWSER = "com.uiui.browser";
public static final String BROWSER = "com.aoleyun.browser";
public static final String APP_STORE_BOOTRECEIVER = "com.aoleyun.appstore.receiver.BootReceiver";
}

View File

@@ -767,7 +767,7 @@ public class ApkUtils {
this.add("com.aoleyun.sn");
this.add("com.aoleyun.info");
this.add("com.aoleyun.os");
this.add("com.uiui.browser");
this.add("com.aoleyun.browser");
}};
//出厂自带的app

View File

@@ -931,6 +931,7 @@ public class JGYUtils {
this.add("com.uiuios.jgy1");
this.add("com.uiuios.jgy2");
this.add("com.tt.ttutils");
this.add("com.aoleyun.browser");
this.add("com.uiui.browser");
this.add("com.android.uiuios");
this.add("com.aoleyun.os");

View File

@@ -28,7 +28,7 @@ allprojects {
}
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs.add('-Xbootclasspath/p:libs/framework.jar')
options.compilerArgs.add('-Xbootclasspath/p:app/libs/framework.jar')
}
}
}