Add OPLUS Camera support

[pjgowtham] : Add missing classes for oneplus 12 camera app

Co-authored-by: cjh1249131356 <cjh1249131356@gmail.com>
Co-authored-by: Pranav Vashi <neobuddy89@gmail.com>
This commit is contained in:
chandu078
2024-02-22 20:31:06 +05:30
committed by pjgowtham
parent 3e5c024dd1
commit d0ffbb8aa8
59 changed files with 3024 additions and 0 deletions

11
init/Android.bp Normal file
View File

@@ -0,0 +1,11 @@
/*
* Copyright (C) 2024 The Nameless-AOSP Project
* SPDX-License-Identifier: Apache-2.0
*/
prebuilt_etc {
name: "init.oplus.camera.rc",
src: "init.oplus.camera.rc",
sub_dir: "init",
device_specific: true,
}

View File

@@ -0,0 +1,9 @@
#
# Copyright (C) 2024 The Nameless-AOSP Project
#
# SPDX-License-Identifier: Apache-2.0
#
on boot
# OIS
chown cameraserver cameraserver /sys/kernel/ois_control/dump_registers