Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 31c11a05 authored by Emilian Peev's avatar Emilian Peev
Browse files

Camera: "getMaxSharedSurfaceCount" should be non-static

Allow for more flexiblity in case the maximum shared
supported shared surface count changes in the future.

Bug: 72562887
Test: Camera CTS
Change-Id: If3be8659c05997502368f51a14152a4516a9f159
parent 00715bc4
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -16338,7 +16338,7 @@ package android.hardware.camera2.params {
    method public void addSurface(android.view.Surface);
    method public void addSurface(android.view.Surface);
    method public int describeContents();
    method public int describeContents();
    method public void enableSurfaceSharing();
    method public void enableSurfaceSharing();
    method public static int getMaxSharedSurfaceCount();
    method public int getMaxSharedSurfaceCount();
    method public android.view.Surface getSurface();
    method public android.view.Surface getSurface();
    method public int getSurfaceGroupId();
    method public int getSurfaceGroupId();
    method public java.util.List<android.view.Surface> getSurfaces();
    method public java.util.List<android.view.Surface> getSurfaces();
+1 −1
Original line number Original line Diff line number Diff line
@@ -576,7 +576,7 @@ public final class OutputConfiguration implements Parcelable {
     *
     *
     * @see #enableSurfaceSharing
     * @see #enableSurfaceSharing
     */
     */
    public static int getMaxSharedSurfaceCount() {
    public int getMaxSharedSurfaceCount() {
        return MAX_SURFACES_COUNT;
        return MAX_SURFACES_COUNT;
    }
    }