aospa: Disable GBK in Wi-Fi overlay for all targets

This feature is used for character encoding in China,
but is breaking Wi-Fi connections in the new
GMS Setup Wizard. AOSP does not support this
feature, so disable for now.

Change-Id: Id400484e507ceb68caa595a0f2c839d515db5e32
This commit is contained in:
Evan Anderson 2023-05-23 05:36:30 +09:00 committed by Omkar Chandorkar
parent 47f48bfe1f
commit ad848463d6
4 changed files with 67 additions and 1 deletions

View File

@ -0,0 +1,18 @@
// Copyright (C) 2023 Paranoid Android
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
runtime_resource_overlay {
name: "AOSPAWifiOverlay",
product_specific: true,
}

View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2023 Paranoid Android
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.wifi.resources.aospa.overlay">
<application android:hasCode="false"/>
<overlay
android:isStatic="true"
android:priority="750"
android:targetPackage="com.android.wifi.resources"
android:targetName="WifiCustomization" />
</manifest>

View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2023 Paranoid Android
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<!-- Indicate ssid coding from unquoted hexadecimal to gbk character is supported on this device. -->
<bool translatable="false" name="config_vendor_wifi_gbk_ssid_supported">false</bool>
</resources>

View File

@ -1,4 +1,4 @@
# Copyright (C) 2021 Paranoid Android
# Copyright (C) 2023 Paranoid Android
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@ -20,6 +20,7 @@ PRODUCT_PACKAGES += \
AOSPASettingsOverlay \
AOSPASettingsProviderOverlay \
AOSPASystemUIOverlay \
AOSPAWifiOverlay \
FontGoogleSansLatoOverlay \
FontHarmonySansOverlay \
FontInterOverlay \