mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-23 12:35:33 -04:00
universal7885: Add TetheringOverlay
BUG: 163800715 Signed-off-by: Weilun Du <wdu@google.com> Change-Id: Ia0834f5215ff8c3b13effa591bd2f84d93419a06 Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
This commit is contained in:
parent
ef04b3c207
commit
39d0711c3c
4 changed files with 38 additions and 1 deletions
22
rro_overlays/TetheringOverlay/Android.bp
Normal file
22
rro_overlays/TetheringOverlay/Android.bp
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2020 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.
|
||||||
|
//
|
||||||
|
|
||||||
|
runtime_resource_overlay {
|
||||||
|
name: "TetheringConfigOverlay",
|
||||||
|
resource_dirs: ["res"],
|
||||||
|
sdk_version: "current",
|
||||||
|
product_specific: true
|
||||||
|
}
|
||||||
11
rro_overlays/TetheringOverlay/AndroidManifest.xml
Normal file
11
rro_overlays/TetheringOverlay/AndroidManifest.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
package="com.android.networkstack.tethering.samsung_universal8890"
|
||||||
|
android:versionCode="1"
|
||||||
|
android:versionName="1.0">
|
||||||
|
<application android:hasCode="false" />
|
||||||
|
<overlay
|
||||||
|
android:targetPackage="com.android.networkstack.tethering"
|
||||||
|
android:targetName="TetheringConfig"
|
||||||
|
android:isStatic="true"
|
||||||
|
android:priority="0"/>
|
||||||
|
</manifest>
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||||
<bool translatable="false" name="config_tether_enable_bpf_offload">false</bool>
|
<bool translatable="false" name="config_tether_enable_bpf_offload">false</bool>
|
||||||
<string-array translatable="false" name="config_tether_usb_regexs">
|
<string-array translatable="false" name="config_tether_usb_regexs">
|
||||||
<item>"rndis\\d"</item>
|
<item>"rndis\\d"</item>
|
||||||
|
|
@ -73,6 +73,10 @@ PRODUCT_PACKAGES += \
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
lineage.touch@1.0-service.samsung
|
lineage.touch@1.0-service.samsung
|
||||||
|
|
||||||
|
# Wifi
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
TetheringConfigOverlay
|
||||||
|
|
||||||
# VNDK
|
# VNDK
|
||||||
PRODUCT_EXTRA_VNDK_VERSIONS := 29
|
PRODUCT_EXTRA_VNDK_VERSIONS := 29
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue