summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Su <dysu@google.com>2020-05-04 16:25:37 -0700
committerDavid Su <dysu@google.com>2020-05-04 16:33:21 -0700
commit3529b692659afa466f60284f39f6cc87eb1fd243 (patch)
tree6ef70eaad8909956205f946228513958cf5d4565
parentbe1d76775b438a5316611a77dbf0989e73037cf9 (diff)
Remove sample overlay app
Sample app will become stale since it is never referenced. Instead refer to the Pixel sample overlay app at device/google/coral/rro_overlays/WifiOverlay/. However keeping the RROOverlaySampleApp folder around since it has been referenced in documentation in the past. Bug: 155689625 Test: compiles Change-Id: Ice1e87aa764882ad3fea9c98eef82a988bc054ff
-rw-r--r--RROOverlaySampleApp/Android.bp24
-rw-r--r--RROOverlaySampleApp/AndroidManifest.xml29
-rw-r--r--RROOverlaySampleApp/Readme.txt4
-rw-r--r--RROOverlaySampleApp/res/values/config.xml23
-rw-r--r--service/res/values/overlayable.xml2
5 files changed, 2 insertions, 80 deletions
diff --git a/RROOverlaySampleApp/Android.bp b/RROOverlaySampleApp/Android.bp
deleted file mode 100644
index 0ce841fd2..000000000
--- a/RROOverlaySampleApp/Android.bp
+++ /dev/null
@@ -1,24 +0,0 @@
-//
-// 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.
-//
-
-android_app {
- name: "WifiRROOverlaySampleApp",
- resource_dirs: [
- "res",
- ],
- manifest: "AndroidManifest.xml",
- sdk_version: "current"
-}
diff --git a/RROOverlaySampleApp/AndroidManifest.xml b/RROOverlaySampleApp/AndroidManifest.xml
deleted file mode 100644
index de2e359ac..000000000
--- a/RROOverlaySampleApp/AndroidManifest.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<?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.
--->
-
-<!-- Simple app to demonstrate how OEM's can customize the various overlays exposed by
- the wifi stack -->
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="com.android.wifi.resources.sample"
- 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="0"/>
-</manifest>
diff --git a/RROOverlaySampleApp/Readme.txt b/RROOverlaySampleApp/Readme.txt
index abcd51e55..eb437756c 100644
--- a/RROOverlaySampleApp/Readme.txt
+++ b/RROOverlaySampleApp/Readme.txt
@@ -1,6 +1,4 @@
-RROOverlaySampleApp:
-a) This sample app demonstrates how OEMs can override any of the overlay flags
-exposed by the wifi mainline module.
+a) Please see `device/google/coral/rro_overlays/WifiOverlay/` for a sample overlay app.
b) The list of values that can be overlayed are listed in service/res/values/overlayable.xml.
c) OEMs can add the flags they want to override in res/values/config.xml of this sample app
and put the sample app in either system, product or vendor partition of the device.
diff --git a/RROOverlaySampleApp/res/values/config.xml b/RROOverlaySampleApp/res/values/config.xml
deleted file mode 100644
index 08b0430a8..000000000
--- a/RROOverlaySampleApp/res/values/config.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?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.
- */
--->
-<!-- Overrides the default value of the specified config values when this sample app is installed -->
-<resources>
- <bool translatable="false" name="config_wifi5ghzSupport">true</bool>
- <bool translatable="false" name="config_wifi_connected_mac_randomization_supported">true</bool>
-</resources>
diff --git a/service/res/values/overlayable.xml b/service/res/values/overlayable.xml
index 60454728d..d0dd87525 100644
--- a/service/res/values/overlayable.xml
+++ b/service/res/values/overlayable.xml
@@ -13,7 +13,7 @@
<!-- These values can be used to control wifi stack behavior/features on individual devices.
These can be overridden by OEM's by using an RRO overlay app.
- There is a sample RRO overlay app under frameworks/opt/net/wifi/RROOverlaySampleApp -->
+ See device/google/coral/rro_overlays/WifiOverlay/ for a sample overlay app. -->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<overlayable name="WifiCustomization">
<!-- START VENDOR CUSTOMIZATION -->