@@ -35,6 +35,8 @@ constexpr char kSetEnabledSystemUiOverlaysMethod[] =
3535 " SystemChrome.setEnabledSystemUIOverlays" ;
3636constexpr char kSetPreferredOrientationsMethod [] =
3737 " SystemChrome.setPreferredOrientations" ;
38+ constexpr char kSetSystemUIOverlayStyleMethod [] =
39+ " SystemChrome.setSystemUIOverlayStyle" ;
3840
3941constexpr char kTextKey [] = " text" ;
4042constexpr char kValueKey [] = " value" ;
@@ -127,9 +129,6 @@ void PlatformChannel::HandleMethodCall(
127129 } else if (method == kRestoreSystemUiOverlaysMethod ) {
128130 RestoreSystemUiOverlays ();
129131 result->Success ();
130- } else if (method == kSetApplicationSwitcherDescriptionMethod ) {
131- // Not supported on Tizen. Ignore.
132- result->Success ();
133132 } else if (method == kSetEnabledSystemUiOverlaysMethod ) {
134133 const rapidjson::Document& list = arguments[0 ];
135134 std::vector<std::string> overlays;
@@ -146,6 +145,10 @@ void PlatformChannel::HandleMethodCall(
146145 }
147146 SetPreferredOrientations (orientations);
148147 result->Success ();
148+ } else if (method == kSetApplicationSwitcherDescriptionMethod ||
149+ method == kSetSystemUIOverlayStyleMethod ) {
150+ // Not supported on Tizen. Ignore.
151+ result->Success ();
149152 } else {
150153 FT_LOG (Info) << " Unimplemented method: " << method;
151154 result->NotImplemented ();
0 commit comments