Merge "Add assignable devices xml" into main
This commit is contained in:
commit
8afa5cbe71
4 changed files with 49 additions and 0 deletions
22
avf/Android.bp
Normal file
22
avf/Android.bp
Normal file
|
@ -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",
|
||||
}
|
21
avf/assignable_devices.xml
Normal file
21
avf/assignable_devices.xml
Normal file
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright 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.
|
||||
-->
|
||||
<devices>
|
||||
<device>
|
||||
<kind>eh</kind>
|
||||
<sysfs_path>/sys/bus/platform/devices/16d00000.eh</sysfs_path>
|
||||
</device>
|
||||
</devices>
|
|
@ -399,3 +399,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
|
||||
|
|
|
@ -373,3 +373,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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue