Skip to content

Commit

Permalink
X00TD: Add X00TDWifiOverlay
Browse files Browse the repository at this point in the history
Bug: 148617260
Test: Device boots up and connects to wifi networks.
Change-Id: Iec27a6d947a232a42451ef095dc73d1a52327db5
  • Loading branch information
rpius authored and rk779 committed Jan 24, 2021
1 parent 475c15a commit 3364a30
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 25 deletions.
4 changes: 4 additions & 0 deletions device.mk
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,9 @@ PRODUCT_PACKAGES += \
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/thermal-engine.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine.conf

# Wifi
PRODUCT_PACKAGES += \
X00TDWifiOverlay

# Inherit proprietary files
$(call inherit-product-if-exists, vendor/asus/X00TD/X00TD-vendor.mk)
25 changes: 0 additions & 25 deletions overlay/frameworks/base/core/res/res/values/strings.xml

This file was deleted.

6 changes: 6 additions & 0 deletions rro_overlays/X00TDWifiOverlay/Android.bp
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
runtime_resource_overlay {
name: "X00TDWifiOverlay",
theme: "X00TDWifiOverlay",
sdk_version: "current",
product_specific: true
}
27 changes: 27 additions & 0 deletions rro_overlays/X00TDWifiOverlay/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2019 The Android Open Source Project
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.
-->
<!-- Jasmine specific wifi overlays -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.wifi.resources.X00TD"
android:versionCode="1"
android:versionName="1.0">
<application android:hasCode="false" />
<overlay
android:targetPackage="com.android.wifi.resources"
android:targetName="WifiCustomization"
android:isStatic="true"
android:priority="1"/>
</manifest>
22 changes: 22 additions & 0 deletions rro_overlays/X00TDWifiOverlay/res/values/config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
* Copyright (C) 2019 The Android Open Source Project
*
* 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>
<!-- Default access point SSID used for tethering -->
<string name="wifi_tether_configure_ssid_default" translatable="false">ZenFone Max Pro M1</string>
</resources>

0 comments on commit 3364a30

Please sign in to comment.