Skip to content

Commit

Permalink
fix android compile
Browse files Browse the repository at this point in the history
  • Loading branch information
petemill committed Sep 20, 2024
1 parent ee3279f commit c995180
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ void HandleVoiceRecognition(content::WebContents* web_contents,
const std::string& conversation_uuid) {
Java_BraveLeoSettingsLauncherHelper_handleVoiceRecognition(
base::android::AttachCurrentThread(), web_contents->GetJavaWebContents(),
conversation_uuid);
base::android::ConvertUTF8ToJavaString(
base::android::AttachCurrentThread(), conversation_uuid));
}

void CloseActivity(content::WebContents* web_contents) {
Expand Down

0 comments on commit c995180

Please sign in to comment.