diff --git a/avf/Android.bp b/avf/Android.bp new file mode 100644 index 0000000..d707db1 --- /dev/null +++ b/avf/Android.bp @@ -0,0 +1,22 @@ +// +// Copyright (C) 2023 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. + +prebuilt_etc { + name: "shusky_assignable_devices.xml", + src: "assignable_devices.xml", + filename: "assignable_devices.xml", + vendor: true, + relative_install_path: "avf", +} diff --git a/avf/assignable_devices.xml b/avf/assignable_devices.xml new file mode 100644 index 0000000..40f8f24 --- /dev/null +++ b/avf/assignable_devices.xml @@ -0,0 +1,21 @@ + + + + + eh + /sys/bus/platform/devices/16d00000.eh + + diff --git a/device-husky.mk b/device-husky.mk index e5cf797..8941a8a 100644 --- a/device-husky.mk +++ b/device-husky.mk @@ -401,3 +401,6 @@ PRODUCT_PRODUCT_PROPERTIES += \ # Enable camera exif model/make reporting PRODUCT_VENDOR_PROPERTIES += \ persist.vendor.camera.exif_reveal_make_model=true + +# AVF assignable devices xml +PRODUCT_PACKAGES += shusky_assignable_devices.xml diff --git a/device-shiba.mk b/device-shiba.mk index 203bc9f..ba981af 100644 --- a/device-shiba.mk +++ b/device-shiba.mk @@ -376,3 +376,6 @@ PRODUCT_PRODUCT_PROPERTIES += \ # Enable camera exif model/make reporting PRODUCT_VENDOR_PROPERTIES += \ persist.vendor.camera.exif_reveal_make_model=true + +# AVF assignable devices xml +PRODUCT_PACKAGES += shusky_assignable_devices.xml