Remove the default WebView text encoding resource entirely.
Having the default text encoding in config.xml makes it seem like it's something that could be changed, but upon further inspection we can't see any good reason for anyone to ever want to change it from UTF-8. BUG: 17634120 Change-Id: I10a09ab1d65590c29efb10222abfa08ca52b5c84
This commit is contained in:
@@ -1355,9 +1355,10 @@ public abstract class WebSettings {
|
||||
public synchronized boolean getJavaScriptCanOpenWindowsAutomatically() {
|
||||
throw new MustOverrideException();
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the default text encoding name to use when decoding html pages.
|
||||
* The default is "Latin-1".
|
||||
* The default is "UTF-8".
|
||||
*
|
||||
* @param encoding the text encoding name
|
||||
*/
|
||||
|
||||
@@ -1776,9 +1776,6 @@
|
||||
|
||||
<string-array translatable="false" name="config_cdma_home_system" />
|
||||
|
||||
<!-- Default text encoding for WebSettings. @hide @SystemApi -->
|
||||
<string name="config_webSettingsDefaultTextEncoding">UTF-8</string>
|
||||
|
||||
<!--From SmsMessage-->
|
||||
<!--Support decoding the user data payload as pack GSM 8-bit (a GSM alphabet
|
||||
string that's stored in 8-bit unpacked format) characters.-->
|
||||
|
||||
@@ -2545,8 +2545,6 @@
|
||||
<!-- @hide This really shouldn't be public; clients using it should use @* to ref it. -->
|
||||
<public type="style" name="Theme.Leanback.FormWizard" id="0x010302d0" />
|
||||
|
||||
<public type="string" name="config_webSettingsDefaultTextEncoding" id="0x01040018" />
|
||||
|
||||
<public type="array" name="config_keySystemUuidMapping" id="0x01070005" />
|
||||
|
||||
<!-- An interpolator which accelerates fast but decelerates slowly. -->
|
||||
|
||||
Reference in New Issue
Block a user