media.c2 aidl: handle the case of fence being invalid

Bug: 254050314
Test: m
Change-Id: I6eed49119de96326324f901fd99d20ab605b92a0
This commit is contained in:
Sungtak Lee 2023-11-26 22:52:25 +00:00
parent c9655da294
commit 80345e908e
2 changed files with 2 additions and 2 deletions

View file

@ -39,7 +39,7 @@ interface IGraphicBufferAllocator {
ParcelFileDescriptor getWaitableFd();
parcelable Allocation {
android.hardware.HardwareBuffer buffer;
ParcelFileDescriptor fence;
@nullable ParcelFileDescriptor fence;
}
parcelable Description {
int width;

View file

@ -35,7 +35,7 @@ interface IGraphicBufferAllocator {
*/
parcelable Allocation {
HardwareBuffer buffer;
ParcelFileDescriptor fence;
@nullable ParcelFileDescriptor fence;
}
/**