diff options
author | Remi NGUYEN VAN <reminv@google.com> | 2021-04-21 16:15:43 +0900 |
---|---|---|
committer | Remi NGUYEN VAN <reminv@google.com> | 2021-04-23 08:22:42 +0000 |
commit | 1e3469f18cbc539e2740d9560559800362b36764 (patch) | |
tree | 6211d8da2f92d670fb143af56727633f45661cb3 /rro_overlays | |
parent | 820d0ed766e7163c5484be503a442f00d5ee2ee5 (diff) | |
download | gs101-1e3469f18cbc539e2740d9560559800362b36764.tar.gz |
Add connectivity overlay to gs101
As resources were moved from the android package to the connectivity
resources package, migrate resources to a new overlay for the new
package.
Bug: 185850634
Test: m
Change-Id: Iea8bf912e750375724421945103bcc58ece11f1b
Diffstat (limited to 'rro_overlays')
-rw-r--r-- | rro_overlays/ConnectivityOverlay/Android.bp | 9 | ||||
-rw-r--r-- | rro_overlays/ConnectivityOverlay/AndroidManifest.xml | 27 | ||||
-rw-r--r-- | rro_overlays/ConnectivityOverlay/res/values/config.xml | 26 |
3 files changed, 62 insertions, 0 deletions
diff --git a/rro_overlays/ConnectivityOverlay/Android.bp b/rro_overlays/ConnectivityOverlay/Android.bp new file mode 100644 index 00000000..e76c15a3 --- /dev/null +++ b/rro_overlays/ConnectivityOverlay/Android.bp @@ -0,0 +1,9 @@ +package { + default_applicable_licenses: ["Android-Apache-2.0"], +} + +runtime_resource_overlay { + name: "ConnectivityOverlay", + sdk_version: "current", + product_specific: true +} diff --git a/rro_overlays/ConnectivityOverlay/AndroidManifest.xml b/rro_overlays/ConnectivityOverlay/AndroidManifest.xml new file mode 100644 index 00000000..f349b7fb --- /dev/null +++ b/rro_overlays/ConnectivityOverlay/AndroidManifest.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2021 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. +--> +<!-- Pixel specific connectivity overlays --> +<manifest xmlns:android="http://schemas.android.com/apk/res/android" + package="com.android.connectivity.resources.overlay" + android:versionCode="1" + android:versionName="1.0"> + <application android:hasCode="false" /> + <overlay + android:targetPackage="com.android.connectivity.resources" + android:targetName="ServiceConnectivityResourcesConfig" + android:isStatic="true" + android:priority="0"/> +</manifest> diff --git a/rro_overlays/ConnectivityOverlay/res/values/config.xml b/rro_overlays/ConnectivityOverlay/res/values/config.xml new file mode 100644 index 00000000..d9a29b07 --- /dev/null +++ b/rro_overlays/ConnectivityOverlay/res/values/config.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* + * Copyright (C) 2021 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> + <!-- If the hardware supports specially marking packets that caused a wakeup of the + main CPU, set this value to the mark used. --> + <integer translatable="false" name="config_networkWakeupPacketMark">0x80000000</integer> + + <!-- Mask to use when checking skb mark defined in config_networkWakeupPacketMark above. --> + <integer translatable="false" name="config_networkWakeupPacketMask">0x80000000</integer> +</resources> |