diff --git a/recipes-openharmony/openharmony/openharmony-standard-3.0/appspawn-dbus-debug.patch b/recipes-openharmony/openharmony/openharmony-standard-3.0/appspawn-dbus-debug.patch new file mode 100644 index 0000000000000000000000000000000000000000..589a9fb96ac54d84ebae81fd6b1fc216360fa115 --- /dev/null +++ b/recipes-openharmony/openharmony/openharmony-standard-3.0/appspawn-dbus-debug.patch @@ -0,0 +1,13 @@ +diff --git a/src/appspawn_server.cpp b/src/appspawn_server.cpp +index 5e2addf99909..7e431cae76d2 100644 +--- a/src/appspawn_server.cpp ++++ b/src/appspawn_server.cpp +@@ -33,7 +33,7 @@ + #include <dirent.h> + #include <dlfcn.h> + +-#define GRAPHIC_PERMISSION_CHECK ++#undef GRAPHIC_PERMISSION_CHECK + constexpr static size_t ERR_STRING_SZ = 64; + + namespace OHOS { diff --git a/recipes-openharmony/openharmony/openharmony-standard_3.0.bb b/recipes-openharmony/openharmony/openharmony-standard_3.0.bb index b4592c705ecb01e9182a641d993d3740d9c60345..b744ff8687aa240989d6b660855af5e828b91982 100644 --- a/recipes-openharmony/openharmony/openharmony-standard_3.0.bb +++ b/recipes-openharmony/openharmony/openharmony-standard_3.0.bb @@ -78,6 +78,8 @@ SRC_URI += "file://param-paths.patch;patchdir=${S}/base/startup/init_lite" SRC_URI += "file://init_lite-log-to-stderr.patch;patchdir=${S}/base/startup/init_lite" SRC_URI += "file://param_service-Add-to-startup-l2-part.patch;patchdir=${S}/base/startup/appspawn_standard" +SRC_URI += "file://appspawn-dbus-debug.patch;patchdir=${S}/base/startup/appspawn_standard" + SRC_URI += "file://samgr-sd-notify.patch;patchdir=${S}/foundation/distributedschedule/samgr" SRC_URI += "file://safwk-sd-notify.patch;patchdir=${S}/foundation/distributedschedule/safwk" SRC_URI += "file://installs-sd-notify.patch;patchdir=${S}/foundation/appexecfwk/standard"