Skip to content

Commit bc79461

Browse files
authored
Add LiveText.isLiveTextInputAvailable to unsupported method (#45)
1 parent 20e00fd commit bc79461

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

flutter/shell/platform/tizen/channels/platform_channel.cc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ constexpr char kSetPreferredOrientationsMethod[] =
3939
"SystemChrome.setPreferredOrientations";
4040
constexpr char kSetSystemUIOverlayStyleMethod[] =
4141
"SystemChrome.setSystemUIOverlayStyle";
42+
constexpr char kIsLiveTextInputAvailable[] =
43+
"LiveText.isLiveTextInputAvailable";
4244

4345
constexpr char kTextKey[] = "text";
4446
constexpr char kValueKey[] = "value";
@@ -158,7 +160,8 @@ void PlatformChannel::HandleMethodCall(
158160
SetPreferredOrientations(orientations);
159161
result->Success();
160162
} else if (method == kSetApplicationSwitcherDescriptionMethod ||
161-
method == kSetSystemUIOverlayStyleMethod) {
163+
method == kSetSystemUIOverlayStyleMethod ||
164+
method == kIsLiveTextInputAvailable) {
162165
// Not supported on Tizen. Ignore.
163166
result->Success();
164167
} else {

0 commit comments

Comments
 (0)