Revert "universal7885: Don't include CameraLightSensor for now"

This reverts commit 8c71e00224.
This commit is contained in:
roynatech2544 2022-04-14 18:05:57 +09:00
commit 8cb0b6f5b2
No known key found for this signature in database
GPG key ID: 50ABF73F0D19445D
6 changed files with 10 additions and 4 deletions

View file

@ -7,6 +7,9 @@ $(call inherit-product, vendor/samsung/a10-arm64/a10-vendor.mk)
$(call inherit-product, frameworks/native/build/phone-xhdpi-2048-dalvik-heap.mk)
PRODUCT_PACKAGES += \
CameraLightSensor
# USB
PRODUCT_PACKAGES += \
android.hardware.usb@1.0-service.a10

View file

@ -10,6 +10,9 @@ $(call inherit-product, frameworks/native/build/phone-xhdpi-4096-dalvik-heap.mk)
# Derp
DERP_BUILDTYPE := Official
PRODUCT_PACKAGES += \
CameraLightSensor
# USB
PRODUCT_PACKAGES += \
android.hardware.usb@1.3-service.samsung

View file

@ -10,6 +10,9 @@ $(call inherit-product, frameworks/native/build/phone-xhdpi-4096-dalvik-heap.mk)
# Derp
DERP_BUILDTYPE := Official
PRODUCT_PACKAGES += \
CameraLightSensor
# USB
PRODUCT_PACKAGES += \
android.hardware.usb@1.3-service.samsung

View file

@ -66,8 +66,6 @@
<!-- For performance and storage reasons, limit the number of fingerprints per user -->
<integer name="config_fingerprintMaxTemplatesPerUser">4</integer>
<bool name="config_automatic_brightness_available">true</bool>
<!-- Specify if the fingerprint hardware support gestures-->
<bool name="config_fingerprintSupportsGestures">true</bool>

View file

@ -51,8 +51,6 @@
will not debounce light sensor readings -->
<integer name="config_lightSensorWarmupTime">200</integer>
<bool name="config_automatic_brightness_available">true</bool>
<!-- The type of the light sensor to be used by the display framework for things like
auto-brightness. If unset, then it just gets the default sensor of type TYPE_LIGHT. -->
<string name="config_displayLightSensorType">com.samsung.sensor.physical_light</string>

View file

@ -188,6 +188,7 @@
fading edges is prohibitively expensive on most GPUs. -->
<bool name="config_ui_enableFadingMarquee">true</bool>
<bool name="config_automatic_brightness_available">true</bool>
<integer name="config_autoBrightnessBrighteningLightDebounce">2000</integer>
<integer name="config_autoBrightnessDarkeningLightDebounce">4000</integer>
<integer-array name="config_autoBrightnessDisplayValuesNits">