From 5de19e2e028964dec8090ade55971d701fdf8487 Mon Sep 17 00:00:00 2001 From: Tao Bao Date: Wed, 2 Jan 2019 09:35:59 -0800 Subject: minadbd: daemon_service_to_fd takes std::string_view. The caller of daemon_service_to_fd() in core adb has switched to std::string_view in [1]. The mismatch breaks the sideload service, as it picks up the wrong daemon_service_to_fd() when serving sideload. [1] https://android-review.googlesource.com/c/platform/system/core/+/850392 Bug: 122171762 Test: `adb sideload` on taimen. Change-Id: Ie828400768523c35c5576e2c029e38fc0ad0aff9 --- minadbd/Android.bp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'minadbd/Android.bp') diff --git a/minadbd/Android.bp b/minadbd/Android.bp index 370232b3f..a95d979a5 100644 --- a/minadbd/Android.bp +++ b/minadbd/Android.bp @@ -21,6 +21,8 @@ cc_defaults { "-Werror", ], + cpp_std: "experimental", + include_dirs: [ "system/core/adb", ], -- cgit v1.2.3