去掉浏览器证书认证
vendor\mediatek\proprietary\packages\apps\Browser\res\xml\privacy_security_preferences.xml
android:dialogMessage="@string/pref_privacy_clear_history_dlg"
android:dialogIcon="@android:drawable/ic_dialog_alert"/>
<CheckBoxPreference
android:key="show_security_warnings"
- android:defaultValue="true"
+ android:defaultValue="false"
android:title="@string/pref_security_show_security_warning"
android:summary="@string/pref_security_show_security_warning_summary" />
<PreferenceCategory android:title="@string/pref_privacy_cookies_title">
<CheckBoxPreference
vendor\mediatek\proprietary\packages\apps\Browser\src\com\android\browser\BrowserSettings.java
public boolean showSecurityWarnings() {
- return mPrefs.getBoolean(PREF_SHOW_SECURITY_WARNINGS, true);
+ return mPrefs.getBoolean(PREF_SHOW_SECURITY_WARNINGS, false);
}
public boolean acceptCookies() {
return mPrefs.getBoolean(PREF_ACCEPT_COOKIES, true);
}