diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2020-09-15 23:52:26 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2020-09-15 23:52:26 +0000 |
commit | 33cbe4d9276988c74d6f7b54d63785dd19142809 (patch) | |
tree | 13bc15fc3a4acb87e36f3908ae1eaa0dd5139857 | |
parent | 023eecfd282996acf5e80d301e7f774099f4bd19 (diff) | |
parent | 9f148638a95930cc855a0f01121c234505a3ed32 (diff) | |
download | device_generic_goldfish-33cbe4d9276988c74d6f7b54d63785dd19142809.tar.gz device_generic_goldfish-33cbe4d9276988c74d6f7b54d63785dd19142809.tar.bz2 device_generic_goldfish-33cbe4d9276988c74d6f7b54d63785dd19142809.zip |
Snap for 6838321 from 9f148638a95930cc855a0f01121c234505a3ed32 to mainline-releaseandroid-mainline-11.0.0_r9android-mainline-11.0.0_r8android-mainline-11.0.0_r7android-mainline-11.0.0_r6android-mainline-11.0.0_r5android-mainline-11.0.0_r4android-mainline-11.0.0_r33android-mainline-11.0.0_r3android-mainline-11.0.0_r29android-mainline-11.0.0_r19android-mainline-11.0.0_r10android11-mainline-sparse-2021-jan-releaseandroid11-mainline-sparse-2020-dec-releaseandroid11-mainline-release
Change-Id: Iecebc744f0670d28fda9f43e5812c5d8563d58ae
-rw-r--r-- | camera/EmulatedFakeCamera3.cpp | 4 | ||||
-rw-r--r-- | camera/JpegCompressor.cpp | 2 | ||||
-rw-r--r-- | vendor.mk | 5 |
3 files changed, 7 insertions, 4 deletions
diff --git a/camera/EmulatedFakeCamera3.cpp b/camera/EmulatedFakeCamera3.cpp index 2009a33b..2da2c4da 100644 --- a/camera/EmulatedFakeCamera3.cpp +++ b/camera/EmulatedFakeCamera3.cpp @@ -1109,7 +1109,7 @@ status_t EmulatedFakeCamera3::getCameraCapabilities() { mCapabilities.add(FULL_LEVEL); // "RAW" causes several CTS failures: b/68723953, disable it so far. // TODO: add "RAW" back when all failures are resolved. - //mCapabilities.add(RAW); + mCapabilities.add(RAW); mCapabilities.add(MOTION_TRACKING); } @@ -1330,7 +1330,7 @@ status_t EmulatedFakeCamera3::constructStaticInfo() { // android.flash - static const uint8_t flashAvailable = 0; + static const uint8_t flashAvailable = 1; ADD_STATIC_ENTRY(ANDROID_FLASH_INFO_AVAILABLE, &flashAvailable, 1); // android.hotPixel diff --git a/camera/JpegCompressor.cpp b/camera/JpegCompressor.cpp index 3a5b15e1..168b98a0 100644 --- a/camera/JpegCompressor.cpp +++ b/camera/JpegCompressor.cpp @@ -46,7 +46,7 @@ typedef size_t (*GetCompressedSizeFunc)(JpegStub* stub); NV21JpegCompressor::NV21JpegCompressor() { - const char dlName[] = "/vendor/lib/hw/camera.goldfish.jpeg.so"; + const char dlName[] = "/vendor/lib/hw/camera.ranchu.jpeg.so"; if (mDl == NULL) { mDl = dlopen(dlName, RTLD_NOW); } @@ -273,6 +273,7 @@ PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \ system/bt/vendor_libs/test_vendor_lib/data/controller_properties.json:vendor/etc/bluetooth/controller_properties.json \ frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \ + frameworks/native/data/etc/android.hardware.wifi.passpoint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.passpoint.xml \ frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \ device/generic/goldfish/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml \ device/generic/goldfish/camera/media_profiles.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \ @@ -283,9 +284,11 @@ PRODUCT_COPY_FILES += \ device/generic/goldfish/camera/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \ frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \ frameworks/native/data/etc/android.hardware.camera.ar.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.ar.xml \ - frameworks/native/data/etc/android.hardware.camera.autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.autofocus.xml \ + frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \ + frameworks/native/data/etc/android.hardware.camera.concurrent.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.concurrent.xml \ frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \ frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \ + frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml \ frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml \ frameworks/native/data/etc/android.hardware.vulkan.level-1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level.xml \ frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute.xml \ |