diff options
author | TreeHugger Robot <treehugger-gerrit@google.com> | 2020-09-29 20:55:12 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2020-09-29 20:55:12 +0000 |
commit | e30c5c1228dd804f4e7f2fc239618a9fe9c12c8a (patch) | |
tree | 37ae66f1ccaed2da4489a9ad3efe64e26926e719 | |
parent | 5bbef368d8e93752824693547973d401ffbc4d98 (diff) | |
parent | 4ee9b03f3c435bad95dd3500e1b4e8ac6169a60d (diff) | |
download | device_generic_goldfish-e30c5c1228dd804f4e7f2fc239618a9fe9c12c8a.tar.gz device_generic_goldfish-e30c5c1228dd804f4e7f2fc239618a9fe9c12c8a.tar.bz2 device_generic_goldfish-e30c5c1228dd804f4e7f2fc239618a9fe9c12c8a.zip |
Merge "[VirtioWifi] Add p2p-wlan\d-.* Pattern in Tethering Config" into rvc-qpr-dev
-rw-r--r-- | rro_overlays/TetheringOverlay/Android.bp | 22 | ||||
-rw-r--r-- | rro_overlays/TetheringOverlay/AndroidManifest.xml | 11 | ||||
-rw-r--r-- | rro_overlays/TetheringOverlay/res/values/config.xml | 28 | ||||
-rw-r--r-- | vendor.mk | 1 |
4 files changed, 62 insertions, 0 deletions
diff --git a/rro_overlays/TetheringOverlay/Android.bp b/rro_overlays/TetheringOverlay/Android.bp new file mode 100644 index 00000000..31b0c570 --- /dev/null +++ b/rro_overlays/TetheringOverlay/Android.bp @@ -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: "EmulatorTetheringConfigOverlay", + resource_dirs: ["res"], + product_specific: true, + sdk_version: "current", +} diff --git a/rro_overlays/TetheringOverlay/AndroidManifest.xml b/rro_overlays/TetheringOverlay/AndroidManifest.xml new file mode 100644 index 00000000..fc8c8bd0 --- /dev/null +++ b/rro_overlays/TetheringOverlay/AndroidManifest.xml @@ -0,0 +1,11 @@ +<manifest xmlns:android="http://schemas.android.com/apk/res/android" + package="com.android.networkstack.tethering.emulator" + 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> diff --git a/rro_overlays/TetheringOverlay/res/values/config.xml b/rro_overlays/TetheringOverlay/res/values/config.xml new file mode 100644 index 00000000..8cb8b405 --- /dev/null +++ b/rro_overlays/TetheringOverlay/res/values/config.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 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. +*/ +--> + +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Allow testing SoftAP using the simulated interfaces on the emulator. --> + <string-array name="config_tether_wifi_regexs"> + <item>"wlan\\d"</item> + </string-array> + <string-array name="config_tether_wifi_p2p_regexs"> + <item>"p2p-wlan\\d-.*"</item> + </string-array> +</resources> @@ -59,6 +59,7 @@ PRODUCT_PACKAGES += \ local_time.default \ SdkSetup \ EmulatorRadioConfig \ + EmulatorTetheringConfigOverlay \ libstagefrighthw \ libstagefright_goldfish_vpxdec \ libstagefright_goldfish_avcdec \ |