From: Surya Kumar Date: Wed, 1 Mar 2023 11:53:55 +0000 (+0530) Subject: [M108 Migration] Set default behavior of common profile as mobile profile X-Git-Tag: submit/tizen/20230305.160307~21 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d8925f6ba4672c74c30fc7afd0ad51b4a57c7e6e;p=platform%2Fframework%2Fweb%2Fchromium-efl.git [M108 Migration] Set default behavior of common profile as mobile profile WRT disables onscreen mode for |MobileProfile|. This patch equates |MobileProfile| with |CommonProfile| forcing WRT to run in offscreen mode in RPi4, just like M94 AURA and fixes web app errors encountered from wayland module. Reference: https://review.tizen.org/gerrit/280440 Change-Id: I4e75c16fac97a9ad2a90a4f9bf9bf0a58e5fe4a8 Signed-off-by: Surya Kumar --- diff --git a/tizen_src/chromium_impl/tizen/system_info.cc b/tizen_src/chromium_impl/tizen/system_info.cc index 9e7585b..07392b2 100644 --- a/tizen_src/chromium_impl/tizen/system_info.cc +++ b/tizen_src/chromium_impl/tizen/system_info.cc @@ -56,6 +56,8 @@ int IsDesktopProfile(void) { } int IsMobileProfile(void) { + if (IsCommonProfile()) + return 1; return GET_PROFILE() == PROFILE_MOBILE ? 1 : 0; }