Skip to content

Commit

Permalink
Camera: use old HAL v. 1
Browse files Browse the repository at this point in the history
  • Loading branch information
XrTV authored and KreAch3R committed Nov 14, 2016
1 parent b2e7cff commit 8c9b3f2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -150,3 +150,7 @@ BOARD_SUPPRESS_SECURE_ERASE := true

# Include an expanded selection of fonts
EXTENDED_FONT_FOOTPRINT := true

# Old camera HAL 1
TARGET_HAS_LEGACY_CAMERA_HAL1 := true
BOARD_GLOBAL_CFLAGS += -DMETADATA_CAMERA_SOURCE
6 changes: 4 additions & 2 deletions device.mk
Original file line number Diff line number Diff line change
Expand Up @@ -348,8 +348,10 @@ PRODUCT_PROPERTY_OVERRIDES += \
net.tethering.noprovisioning=true

# Camera configuration
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
camera.disable_zsl_mode=1
PRODUCT_PROPERTY_OVERRIDES += \
camera.disable_zsl_mode=1 \
media.stagefright.legacyencoder=true \
media.stagefright.less-secure=true

# Input resampling configuration
PRODUCT_PROPERTY_OVERRIDES += \
Expand Down

0 comments on commit 8c9b3f2

Please sign in to comment.