commit | 11a55db7c94defbf422b70ed7de17cfac00998f9 | [log] [tgz] |
---|---|---|
author | Tomasz Wasilczyk <twasilczyk@google.com> | Wed Sep 13 04:22:26 2023 +0000 |
committer | Tomasz Wasilczyk <twasilczyk@google.com> | Wed Sep 13 04:24:54 2023 +0000 |
tree | e90eea24ade3bc62135d31618a7619302876b971 | |
parent | d26b6cf395504574ef4d5707f66db2e4f2c4f3f3 [diff] |
Don't depend on String8 cast to C string [cas] Bug: 295394788 Test: m checkbuild Change-Id: I82c94f0a720957c443f92b030214c6d2c47bf009
diff --git a/cas/aidl/default/DescramblerImpl.cpp b/cas/aidl/default/DescramblerImpl.cpp index d658887..0f4e99b 100644 --- a/cas/aidl/default/DescramblerImpl.cpp +++ b/cas/aidl/default/DescramblerImpl.cpp
@@ -71,7 +71,7 @@ *_aidl_return = false; } - *_aidl_return = holder->requiresSecureDecoderComponent(String8(in_mime.c_str())); + *_aidl_return = holder->requiresSecureDecoderComponent(in_mime.c_str()); return ScopedAStatus::ok(); }