Disable Thread with resource overlay
Bug: 330111321 Test: manual check the thread stack is not enabled Change-Id: Id7a1a6c38c53d0fa3f9aca96fd4f8c609b9ba10e
This commit is contained in:
parent
2aa5e4b0ca
commit
4327c584d0
6 changed files with 90 additions and 0 deletions
|
@ -395,3 +395,7 @@ PRODUCT_PRODUCT_PROPERTIES += \
|
||||||
|
|
||||||
# Window Extensions
|
# Window Extensions
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/window_extensions.mk)
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/window_extensions.mk)
|
||||||
|
|
||||||
|
# Connectivity Resources Overlay
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
ConnectivityResourcesOverlayCaimitoOverride
|
||||||
|
|
|
@ -396,3 +396,7 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/window_extensions.mk)
|
||||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||||
$(call inherit-product-if-exists, device/google/common/etm/device-userdebug-modules.mk)
|
$(call inherit-product-if-exists, device/google/common/etm/device-userdebug-modules.mk)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Connectivity Resources Overlay
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
ConnectivityResourcesOverlayCaimitoOverride
|
||||||
|
|
|
@ -366,3 +366,7 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/window_extensions.mk)
|
||||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||||
$(call inherit-product-if-exists, device/google/common/etm/device-userdebug-modules.mk)
|
$(call inherit-product-if-exists, device/google/common/etm/device-userdebug-modules.mk)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Connectivity Resources Overlay
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
ConnectivityResourcesOverlayCaimitoOverride
|
||||||
|
|
33
rro_overlays/ConnectivityResourcesOverlayCaimito/Android.bp
Normal file
33
rro_overlays/ConnectivityResourcesOverlayCaimito/Android.bp
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2024 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.
|
||||||
|
//
|
||||||
|
|
||||||
|
package {
|
||||||
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
||||||
|
}
|
||||||
|
|
||||||
|
runtime_resource_overlay {
|
||||||
|
name: "ConnectivityResourcesOverlayCaimito",
|
||||||
|
sdk_version: "current",
|
||||||
|
product_specific: true,
|
||||||
|
resource_dirs: ["res"],
|
||||||
|
}
|
||||||
|
|
||||||
|
override_runtime_resource_overlay {
|
||||||
|
name: "ConnectivityResourcesOverlayCaimitoOverride",
|
||||||
|
base: "ConnectivityResourcesOverlayCaimito",
|
||||||
|
package_name: "com.google.android.connectivity.resources.caimito",
|
||||||
|
target_package_name: "com.google.android.connectivity.resources",
|
||||||
|
}
|
|
@ -0,0 +1,25 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
~ Copyright (C) 2024 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.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
package="com.google.android.connectivity.resources.caimito">
|
||||||
|
<application android:hasCode="false" />
|
||||||
|
<overlay android:targetPackage="com.android.connectivity.resources"
|
||||||
|
android:targetName="ServiceConnectivityResourcesConfig"
|
||||||
|
android:isStatic="true"
|
||||||
|
android:priority="0" />
|
||||||
|
</manifest>
|
|
@ -0,0 +1,20 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
~ Copyright (C) 2024 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">
|
||||||
|
<bool name="config_thread_default_enabled">false</bool>
|
||||||
|
</resources>
|
Loading…
Add table
Add a link
Reference in a new issue