commit | 03fc55fed3e775acb3c7a53835f8660baa3354c3 | [log] [tgz] |
---|---|---|
author | Tomasz Wasilczyk <twasilczyk@google.com> | Fri Aug 11 17:05:05 2023 +0000 |
committer | Tomasz Wasilczyk <twasilczyk@google.com> | Wed Aug 16 21:32:49 2023 +0000 |
tree | 034cd5fceb318b92aee178dd2e51b76e460b720c | |
parent | 5d7b6569577ef9fd6450e6129b8391e306f441f5 [diff] [blame] |
Use String8/16 c_str (mainline modules) Bug: 295394788 Test: make checkbuild Change-Id: Ia266bccfc9100da25d8605d93c1298a341d2b11a
diff --git a/media/module/foundation/ALooperRoster.cpp b/media/module/foundation/ALooperRoster.cpp index 4334f1e..451725d 100644 --- a/media/module/foundation/ALooperRoster.cpp +++ b/media/module/foundation/ALooperRoster.cpp
@@ -168,7 +168,7 @@ } s.append("\n"); } - (void)write(fd, s.string(), s.size()); + (void)write(fd, s.c_str(), s.size()); } } // namespace android