mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
composer: dup handle before storing it
use dupToAidl to store handles in the command writer instead of makeToAidl, to match the HIDL behaviour Bug: 198190384 Test: build Change-Id: Idb46de2182048d4fb3d6b598246c62e1969f629b
This commit is contained in:
@@ -626,7 +626,7 @@ class CommandWriterBase {
|
||||
return;
|
||||
}
|
||||
|
||||
mDataHandles.push_back(::android::makeToAidl(handle));
|
||||
mDataHandles.push_back(::android::dupToAidl(handle));
|
||||
writeSigned(mDataHandles.size() - 1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user