Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions shell/platform/tizen/channels/platform_channel.cc
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ constexpr char kSetEnabledSystemUiOverlaysMethod[] =
"SystemChrome.setEnabledSystemUIOverlays";
constexpr char kSetPreferredOrientationsMethod[] =
"SystemChrome.setPreferredOrientations";
constexpr char kSetSystemUIOverlayStyleMethod[] =
"SystemChrome.setSystemUIOverlayStyle";

constexpr char kTextKey[] = "text";
constexpr char kValueKey[] = "value";
Expand Down Expand Up @@ -127,9 +129,6 @@ void PlatformChannel::HandleMethodCall(
} else if (method == kRestoreSystemUiOverlaysMethod) {
RestoreSystemUiOverlays();
result->Success();
} else if (method == kSetApplicationSwitcherDescriptionMethod) {
// Not supported on Tizen. Ignore.
result->Success();
} else if (method == kSetEnabledSystemUiOverlaysMethod) {
const rapidjson::Document& list = arguments[0];
std::vector<std::string> overlays;
Expand All @@ -146,6 +145,10 @@ void PlatformChannel::HandleMethodCall(
}
SetPreferredOrientations(orientations);
result->Success();
} else if (method == kSetApplicationSwitcherDescriptionMethod ||
method == kSetSystemUIOverlayStyleMethod) {
// Not supported on Tizen. Ignore.
result->Success();
} else {
FT_LOG(Info) << "Unimplemented method: " << method;
result->NotImplemented();
Expand Down