Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: LineageOS/android_frameworks_av
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: lineage-20.0
Choose a base ref
...
head repository: BlueOS/android_frameworks_av
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: lineage-20.0
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 15 commits
  • 16 files changed
  • 12 contributors

Commits on Jul 28, 2025

  1. camera: Allow to use boottime as timestamp reference

    * Some /mad/ HALs use boottime clock without reporting
      timestamp source as realtime
      -> Add a flag to force boottime offset calculation
    
    [SebaUbuntu] Edit for Soong conditional
    
    Change-Id: I56b623a1c2b58ca8a6287783d938fb665de201df
    Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
    maxwen authored and OliverSyx committed Jul 28, 2025
    Configuration menu
    Copy the full SHA
    2f78f3f View commit details
    Browse the repository at this point in the history
  2. libcameraservice: add TARGET_CAMERA_NEEDS_CLIENT_INFO_LIB

    Directly set camera package name by using OnePlusCameraProvider service.
    
    Signed-off-by: firebird11 <hbgassel@gmail.com>
    Hikari-no-Tenshi authored and OliverSyx committed Jul 28, 2025
    Configuration menu
    Copy the full SHA
    59df730 View commit details
    Browse the repository at this point in the history
  3. libcameraservice: Add support to set vendor tag with client package name

    * OEMs like OnePlus and Nothing detect camera package name to unlock features like 48mp.
    
    Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
    Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
    Signed-off-by: minaripenguin <minaripenguin@users.noreply.github.com>
    cjh1249131356 authored and OliverSyx committed Jul 28, 2025
    Configuration menu
    Copy the full SHA
    260ea34 View commit details
    Browse the repository at this point in the history
  4. camera: Don't segfault if we get a NULL parameter

     * Values end up NULL on some drivers, don't crash.
    
    Change-Id: Ic897dbd4629cf3af98c85f93be202c382dde806b
    Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
    hyperb1iss authored and OliverSyx committed Jul 28, 2025
    Configuration menu
    Copy the full SHA
    b2ecf51 View commit details
    Browse the repository at this point in the history
  5. camera2 vndk: Improve error handling

    Check for binder status when removing the camera
    service listener.
    Additionally check for any invalid extended availability
    callbacks.
    
    Bug: 247615866
    Test: adb shell
    /data/nativetest64/vendor/ACameraNdkVendorTest/ACameraNdkVendorTest
    
    Change-Id: Ia043934288d8c5e5584034a08de24c998468039d
    Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
    epeevs authored and OliverSyx committed Jul 28, 2025
    Configuration menu
    Copy the full SHA
    e848d74 View commit details
    Browse the repository at this point in the history
  6. camera: Expose aux cameras in third party apps

    Change-Id: Iba95bf2450be20f85c1e5db81ee5d1b950d6d497
    Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
    phhusson authored and OliverSyx committed Jul 28, 2025
    Configuration menu
    Copy the full SHA
    f58b1e6 View commit details
    Browse the repository at this point in the history
  7. fixup! Camera: Skip stream size check for whitelisted apps

    Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
    ArianK16a authored and OliverSyx committed Jul 28, 2025
    Configuration menu
    Copy the full SHA
    5a3e725 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2025

  1. Camera: Allow privileged camera apps to create raw streams

    Change-Id: I4e82027917e458e1472464e7317bb1968ff7ee2c
    Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
    ArianK16a authored and OliverSyx committed Aug 3, 2025
    Configuration menu
    Copy the full SHA
    7088543 View commit details
    Browse the repository at this point in the history
  2. Camera: Allow setting fallback physical ID for logical camera [1/2]

    On Redmi Note 8 (ginkgo):
    
     * miui camera uses logical id 61 as depth sensor on portrait mode
       but oss libcam maps it to physical id 2 which is wrong, our physical
       id of depth sensor is 20 so we must hack it this way
    
    Set appropriate system property, for example:
    persist.sys.camera.fallback_id_2=20
    
    Change-Id: I58b88adc86dd0036fcbed34a7f20093f90e405dc
    adithya2306 authored and OliverSyx committed Aug 3, 2025
    Configuration menu
    Copy the full SHA
    386ed56 View commit details
    Browse the repository at this point in the history
  3. cameraservice: fix deadlock in onewayhidl onPhysicalCameraStatusChanged

    oneway hild onPhysicalCameraStatusChanged is blocked while casting listener2.1 from listener2.0. When calling addlistener_2_1 the listener is actually 2.0
    for the H2BConverter template is constructed by listener2.0.
    
    Issue: 243902566
    Change-Id: I9d78c40ad924be9471200d245cdb66d985d017f2
    zhangshiyang authored and OliverSyx committed Aug 3, 2025
    Configuration menu
    Copy the full SHA
    15930d7 View commit details
    Browse the repository at this point in the history
  4. cameraserver: Correct camera1 -> api2 shim layer handling for video s…

    …tabilization.
    
    For cases where devices support PREVIEW_STABILIZATION but not
    VIDEO_STABILIZATION, map PREVIEW_STABILIZATION to the camera2 api.
    
    For cases where both are supported, still map to VIDEO_STABILIZATION.
    
    Bug: 254856553
    
    Test: Make back camera on cuttlefish support only PREVIEW_STABILIZATION;
          atest ExtendCameraCharacteristicsTest.java#testLegacyCameraDeviceParity
          atest CameraTest.java#testStabilizationOneShotPreviewCallback
    
    Merged-In: Iec3870557bfee36e23d92b451affd39118990b40
    Change-Id: Iec3870557bfee36e23d92b451affd39118990b40
    Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
    (cherry picked from commit 337da69)
    Jayant Chowdhary authored and OliverSyx committed Aug 3, 2025
    Configuration menu
    Copy the full SHA
    3fdd827 View commit details
    Browse the repository at this point in the history
  5. CameraService: Fix deadlock in binder death cleanup

    In the event of a binder death, there is a chance of deadlock
    due to recursive lock acquisition in the death handling sequence.
    Fix:
    Clear evicted client list before acquiring service lock.
    
    Change-Id: I6fc5fa6e01c002bc46be058fcd977be14cae0270
    Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
    Mounika Reddy Tangirala authored and OliverSyx committed Aug 3, 2025
    Configuration menu
    Copy the full SHA
    e7f9e50 View commit details
    Browse the repository at this point in the history
  6. cameraserver: clear all requests and signal mRequestSignal from Reque…

    …stThread during disconnect().
    
    This helps reduce wait time on RequestThread::join() in the following situation:
    
    T1 calls disconnect() -> Request
    T2 is in RequestThread::threadLoop -> waitForNextRequest -> mRequestSignal.wait()
    which has a timeout of 50ms
    
    The 50ms timeout is cleared if we call clear() instead of
    clearRepeatingRequest().
    
    Also call repeatingRequestEnd() HAL call from clear() for correctness.
    
    Bug: 246214490
    
    Test: Camera CTS
    Test: Vendor Testing
    
    Change-Id: I4e8e7309b7ee7018840e078e7346ab97d549645b
    Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
    Jayant Chowdhary authored and OliverSyx committed Aug 3, 2025
    Configuration menu
    Copy the full SHA
    4522290 View commit details
    Browse the repository at this point in the history
  7. Fix an issue that a free memory is accessed

    In error state, request thread join is not executed. And,
    Camera3Device's mId can be accessed from String& after being freed with
    CLOGE().
    
    This fix will address by changing reference type to normal variable.
    
    Bug: 268437033
    Google: 2428574
    Change-Id: Iad3fcd0fbbaf1e18a2b95093aba08015a933374c
    kk48-park authored and OliverSyx committed Aug 3, 2025
    Configuration menu
    Copy the full SHA
    9bc6681 View commit details
    Browse the repository at this point in the history
  8. 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
    adithya2306 authored and OliverSyx committed Aug 3, 2025
    Configuration menu
    Copy the full SHA
    405cee8 View commit details
    Browse the repository at this point in the history
Loading