mirror of
https://github.com/openharmony/ability_ability_runtime.git
synced 2026-08-24 22:21:36 -04:00
修复arkts-static的entry意图绑定service且executeMode接受UIABILITY_BACKGROUND时未进行有效拦截问题
Co-Authored-By: Agent Signed-off-by: renjh5496 <renjianhao@h-partners.com>
This commit is contained in:
+4
-1
@@ -272,8 +272,11 @@ bool EtsInsightIntentEntry::PrepareExecuteEnvironment(ani_env *env, InsightInten
|
||||
return false;
|
||||
}
|
||||
|
||||
if (pageLoader == nullptr) {
|
||||
if (mode == InsightIntentExecuteMode::UIABILITY_BACKGROUND ||
|
||||
mode == InsightIntentExecuteMode::SERVICE_EXTENSION_ABILITY) {
|
||||
return true;
|
||||
} else if (pageLoader == nullptr) {
|
||||
return false;
|
||||
}
|
||||
|
||||
const char *propertyName = mode == InsightIntentExecuteMode::UIEXTENSION_ABILITY ?
|
||||
|
||||
Reference in New Issue
Block a user