Skip to content

Commit 97c6cd1

Browse files
authored
Ignore SystemChrome.setApplicationSwitcherDescription (#308)
1 parent 782b415 commit 97c6cd1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

shell/platform/tizen/channels/platform_channel.cc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ constexpr char kHapticFeedbackVibrateMethod[] = "HapticFeedback.vibrate";
2929
constexpr char kSystemNavigatorPopMethod[] = "SystemNavigator.pop";
3030
constexpr char kRestoreSystemUiOverlaysMethod[] =
3131
"SystemChrome.restoreSystemUIOverlays";
32+
constexpr char kSetApplicationSwitcherDescriptionMethod[] =
33+
"SystemChrome.setApplicationSwitcherDescription";
3234
constexpr char kSetEnabledSystemUiOverlaysMethod[] =
3335
"SystemChrome.setEnabledSystemUIOverlays";
3436
constexpr char kSetPreferredOrientationsMethod[] =
@@ -125,6 +127,9 @@ void PlatformChannel::HandleMethodCall(
125127
} else if (method == kRestoreSystemUiOverlaysMethod) {
126128
RestoreSystemUiOverlays();
127129
result->Success();
130+
} else if (method == kSetApplicationSwitcherDescriptionMethod) {
131+
// Not supported on Tizen. Ignore.
132+
result->Success();
128133
} else if (method == kSetEnabledSystemUiOverlaysMethod) {
129134
const rapidjson::Document& list = arguments[0];
130135
std::vector<std::string> overlays;

0 commit comments

Comments
 (0)