Skip to content

Commit

Permalink
Ignore SystemChrome.setApplicationSwitcherDescription (#308)
Browse files Browse the repository at this point in the history
  • Loading branch information
swift-kim authored Jul 7, 2022
1 parent 782b415 commit 97c6cd1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions shell/platform/tizen/channels/platform_channel.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ constexpr char kHapticFeedbackVibrateMethod[] = "HapticFeedback.vibrate";
constexpr char kSystemNavigatorPopMethod[] = "SystemNavigator.pop";
constexpr char kRestoreSystemUiOverlaysMethod[] =
"SystemChrome.restoreSystemUIOverlays";
constexpr char kSetApplicationSwitcherDescriptionMethod[] =
"SystemChrome.setApplicationSwitcherDescription";
constexpr char kSetEnabledSystemUiOverlaysMethod[] =
"SystemChrome.setEnabledSystemUIOverlays";
constexpr char kSetPreferredOrientationsMethod[] =
Expand Down Expand Up @@ -125,6 +127,9 @@ 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 Down

0 comments on commit 97c6cd1

Please sign in to comment.