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

@@ -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());