Skip to content

Commit

Permalink
fix android again?
Browse files Browse the repository at this point in the history
  • Loading branch information
petemill committed Sep 20, 2024
1 parent ebce9f7 commit adc83de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

import org.chromium.base.Log;
import org.chromium.base.ThreadUtils;
import org.chromium.content_public.browser.WebContents;
import org.chromium.ui.base.WindowAndroid;
import org.chromium.ui.permissions.PermissionCallback;

Expand Down
3 changes: 2 additions & 1 deletion browser/ai_chat/android/ai_chat_utils_android.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#if BUILDFLAG(ENABLE_AI_CHAT)
#include "brave/browser/ai_chat/ai_chat_service_factory.h"
#include "brave/components/ai_chat/content/browser/ai_chat_tab_helper.h"
#include "brave/components/ai_chat/core/browser/ai_chat_service.h"
#include "brave/components/ai_chat/core/browser/conversation_handler.h"
#include "brave/components/ai_chat/core/common/mojom/ai_chat.mojom.h"
#include "content/public/browser/web_contents.h"
Expand Down Expand Up @@ -42,7 +43,7 @@ static void JNI_BraveLeoUtils_OpenLeoQuery(
conversation = ai_chat_service->GetOrCreateConversationHandlerForContent(
chat_tab_helper->GetContentId(), chat_tab_helper->GetWeakPtr());
} else {
conversation = ai_chat_service->GetConversation(conversation_uuid);
conversation = ai_chat_service->GetConversation(conversation_uuid_str);
}
if (!conversation) {
return;
Expand Down

0 comments on commit adc83de

Please sign in to comment.