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

Commit 695ef7ac authored by Jooyung Han's avatar Jooyung Han
Browse files

aidl: Set explicit defaults to enum-type fields

Fixes: 179853398
Test: mma in hardware/interfaces/graphics
Change-Id: I6f93bca4ba3c8d538765fc9a811b9050c6142cc3
parent 2fff1705
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -21,7 +21,7 @@ parcelable HardwareBufferDescription {
  int width;
  int width;
  int height;
  int height;
  int layers;
  int layers;
  android.hardware.graphics.common.PixelFormat format;
  android.hardware.graphics.common.PixelFormat format = android.hardware.graphics.common.PixelFormat.UNSPECIFIED;
  android.hardware.graphics.common.BufferUsage usage;
  android.hardware.graphics.common.BufferUsage usage = android.hardware.graphics.common.BufferUsage.CPU_READ_NEVER;
  int stride;
  int stride;
}
}
+2 −2
Original line number Original line Diff line number Diff line
@@ -29,7 +29,7 @@ parcelable HardwareBufferDescription {
    int width;
    int width;
    int height;
    int height;
    int layers;
    int layers;
    PixelFormat format;
    PixelFormat format = PixelFormat.UNSPECIFIED;
    BufferUsage usage;
    BufferUsage usage = BufferUsage.CPU_READ_NEVER;
    int stride;
    int stride;
}
}