commit | f0d19dda4a88fe5305083c321da18e5931956a12 | [log] [tgz] |
---|---|---|
author | Jooyung Han <jooyung@google.com> | Sun Jun 27 01:22:52 2021 +0900 |
committer | Jooyung Han <jooyung@google.com> | Mon Jun 28 09:41:50 2021 +0900 |
tree | b8a353e4775c9d65ef9368fe77fd941d8efbc1a1 | |
parent | 3f62aae8c5b0842118c7d787a8a93d0e00bc4d9e [diff] |
aidl: put @utf8InCpp String type in AIDL is mapped to String16 in C++, which doesn't work well with ParcelFileDescriptor. (String16 is not moveable while PFD is moveable but not copyable.) Putting @utf8InCpp makes String type in AIDL std::string in C++. std::string has no such problems. Besides, there's no good reason to use String16 in C++. Bug: 192136980 Test: MicrodroidHostTestCases, VirtualizationTestCases Change-Id: I47ffd5f9083a7bd446fbff6a806f1d31295e6cd3