diff options
author | Tomasz Wasilczyk <twasilczyk@google.com> | 2024-01-09 12:46:40 -0800 |
---|---|---|
committer | Tomasz Wasilczyk <twasilczyk@google.com> | 2024-01-09 12:47:51 -0800 |
commit | 644fa15e7b50e2b663da236b492cc8a9e233dbb7 (patch) | |
tree | 8ae67d788e547d9075fa8c60c39d6ebe579c6c82 | |
parent | c17fcbd3888a16b30d43048beb2c2025fb9d7a96 (diff) | |
download | aidl-644fa15e7b50e2b663da236b492cc8a9e233dbb7.tar.gz |
Don't print char16_t to a stream
It's removed from recent libc++
Bug: 175635923
Test: m MODULES-IN-system-tools-aidl
Change-Id: I9fa6c24873a81e0670f922be4494bc81c8071c1a
-rw-r--r-- | tests/aidl_test_service_ndk.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/aidl_test_service_ndk.cpp b/tests/aidl_test_service_ndk.cpp index 6d398b04..627e7c03 100644 --- a/tests/aidl_test_service_ndk.cpp +++ b/tests/aidl_test_service_ndk.cpp @@ -162,6 +162,11 @@ class NativeService : public BnTestService { ALOGI("Repeating token %s", token_str.str().c_str()); } + template <> + void LogRepeatedToken(const char16_t& token) { + ALOGI("Repeating token (char16_t) %d", token); + } + ScopedAStatus TestOneway() override { return ScopedAStatus::fromStatus(android::UNKNOWN_ERROR); } ScopedAStatus Deprecated() override { return ScopedAStatus::ok(); } |