Skip to content

Commit

Permalink
Add LiveText.isLiveTextInputAvailable to unsupported method (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
JSUYA authored Sep 8, 2023
1 parent 20e00fd commit bc79461
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion flutter/shell/platform/tizen/channels/platform_channel.cc
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ constexpr char kSetPreferredOrientationsMethod[] =
"SystemChrome.setPreferredOrientations";
constexpr char kSetSystemUIOverlayStyleMethod[] =
"SystemChrome.setSystemUIOverlayStyle";
constexpr char kIsLiveTextInputAvailable[] =
"LiveText.isLiveTextInputAvailable";

constexpr char kTextKey[] = "text";
constexpr char kValueKey[] = "value";
Expand Down Expand Up @@ -158,7 +160,8 @@ void PlatformChannel::HandleMethodCall(
SetPreferredOrientations(orientations);
result->Success();
} else if (method == kSetApplicationSwitcherDescriptionMethod ||
method == kSetSystemUIOverlayStyleMethod) {
method == kSetSystemUIOverlayStyleMethod ||
method == kIsLiveTextInputAvailable) {
// Not supported on Tizen. Ignore.
result->Success();
} else {
Expand Down

0 comments on commit bc79461

Please sign in to comment.