From 81dc72af9d0dfda123ea52adcf2695bfa4bfe029 Mon Sep 17 00:00:00 2001 From: Shangbing Hu Date: Wed, 13 Jul 2016 06:23:24 +0800 Subject: AEE: disable aee_kernel_dal_api. [Detail] the red screen feature should be available only for AEE, or it would make users confused about whether AEE workes well. [Solution] Disable this api. MTK-Commit-Id: 47ccf5e37ed8b58b51c90d29cb1f3fc644032af8 Change-Id: Ia85f398e367e062c89bcb751a8887fdae44d55f3 Signed-off-by: Shangbing Hu CR-Id: ALPS02530766 Feature: Android Exception Engine(AEE) --- drivers/misc/mediatek/aee/aed/aed-main.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'drivers') diff --git a/drivers/misc/mediatek/aee/aed/aed-main.c b/drivers/misc/mediatek/aee/aed/aed-main.c index cd8128225..b288029f6 100644 --- a/drivers/misc/mediatek/aee/aed/aed-main.c +++ b/drivers/misc/mediatek/aee/aed/aed-main.c @@ -1759,7 +1759,7 @@ static void kernel_reportAPI(const AE_DEFECT_ATTR attr, const int db_opt, const } } -#ifndef PARTIAL_BUILD +#if 0/*disable aee_kernel_dal_api*/ void aee_kernel_dal_api(const char *file, const int line, const char *msg) { LOGW("aee_kernel_dal_api : <%s:%d> %s ", file, line, msg); @@ -1803,8 +1803,7 @@ void aee_kernel_dal_api(const char *file, const int line, const char *msg) #else void aee_kernel_dal_api(const char *file, const int line, const char *msg) { - LOGW("aee_kernel_dal_api : <%s:%d> %s ", file, line, msg); - return; + LOGW("aee_kernel_dal_api has been phased out! caller info: <%s:%d> %s ", file, line, msg); } #endif EXPORT_SYMBOL(aee_kernel_dal_api); -- cgit v1.2.3