-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Camera: Add support for miui camera mode [1/2]
* devices like ginkgo and some xiaomi sdm660 use miui camera mode in camera hal to activate certain functions in camera hal, these are enabled when vendor.camera.miui.apk is set to 1 based on sys.camera.miui.apk value * if this prop is set by default gcam crashes, so we must do it dynamically * xiaomi does this in stock libcameraservice but unfortunately we don't have stock android 12 to use prebuilt lib To enable, set TARGET_USES_MIUI_CAMERA := true in BoardConfig. Change-Id: I8d9ee4e650f3e2196546570c183c9d169b8aa335 Signed-off-by: tejas101k <[email protected]>
- Loading branch information
1 parent
5aaf2d2
commit 5a2c714
Showing
3 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters