From 579c39d2976e9aec1e3fc659669616aad6280aa0 Mon Sep 17 00:00:00 2001 From: wawanala Date: Tue, 7 Jan 2025 19:57:30 +0800 Subject: [PATCH 1/2] add:is_emulator Signed-off-by: wawanala Change-Id: Ibc5c99c218a7119dd355275f8cc3860c7a496877 --- notification.gni | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/notification.gni b/notification.gni index 1659de9e7..fcd19d98a 100644 --- a/notification.gni +++ b/notification.gni @@ -98,6 +98,11 @@ declare_args() { notification_smart_reminder_supported = false } + if (!is_emulator && device_company == "iscas" && target_cpu == "x86_64") { + screenlock_mgr_enable = false + notification_smart_reminder_supported = false + } + if (defined(global_parts_info) && !defined(global_parts_info.telephony_telephony_cust)) { telephony_cust = false -- Gitee From 4628927a893c8c315882db6fc930e4587415c9fe Mon Sep 17 00:00:00 2001 From: wawanala Date: Thu, 9 Jan 2025 13:41:07 +0800 Subject: [PATCH 2/2] add:is_emulator for arm64 Change-Id: I263eb307cda98dda42aa4a9da78e1803d1f50b91 --- notification.gni | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/notification.gni b/notification.gni index fcd19d98a..0f2f14bc9 100644 --- a/notification.gni +++ b/notification.gni @@ -98,7 +98,8 @@ declare_args() { notification_smart_reminder_supported = false } - if (!is_emulator && device_company == "iscas" && target_cpu == "x86_64") { + if (!is_emulator && device_company == "iscas" && + (target_cpu == "x86_64" || target_cpu == "arm64")) { screenlock_mgr_enable = false notification_smart_reminder_supported = false } -- Gitee