Add component overrides to enable Touch Diagnostics in Tegu.

Bug: 362570271
Test: MANUAL
Flag: EXEMPT makefile changes to enable component-override in Pixel Troubleshooting App.
Change-Id: I3da70af53dfd78df87a5693abd9130a5d5fa3064
This commit is contained in:
Samridhi 2024-09-20 18:52:59 +00:00
parent 9bfc8d46b9
commit 240e8f26ab
2 changed files with 26 additions and 0 deletions

View file

@ -58,6 +58,7 @@ include device/google/gs-common/touch/gti/predump_gti.mk
include device/google/gs-common/touch/syna/predump_syna20.mk
include device/google/gs-common/gril/aidl/2.0/gril_aidl.mk
include device/google/gs-common/esim/esim.mk
include device/google/gs-common/pixelsupport/pixelsupport.mk
# go/lyric-soong-variables
$(call soong_config_set,lyric,camera_hardware,tegu)
@ -415,3 +416,7 @@ PRODUCT_COPY_FILES += \
PRODUCT_COPY_FILES += \
device/google/tegu/bluetooth/audio_set_configurations.json:$(TARGET_COPY_OUT_VENDOR)/etc/aidl/le_audio/aidl_audio_set_configurations.json
#Component Override for Pixel Troubleshooting App
PRODUCT_COPY_FILES += \
device/google/tegu/tegu-component-overrides.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sysconfig/tegu-component-overrides.xml

View file

@ -0,0 +1,21 @@
<?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.
-->
<config>
<component-override package="com.google.android.apps.pixel.support" >
<component class="com.google.android.apps.pixel.support.navigationroot.TouchNavigationRootActivity" enabled="true" />
<component class="com.google.android.apps.pixel.support.navigationroot.TouchDiagnosticsSearchProvider" enabled="true" />
</component-override>
</config>