From c35c931de8a9b4d2c879d898d5dd66ac3cef3c4c Mon Sep 17 00:00:00 2001 From: "jungmin76.park" Date: Mon, 21 Oct 2013 20:10:00 +0900 Subject: [PATCH] fix MAX_LENGTH for ReCreate event Change-Id: I4b392f974ff6825e88bdc802e21070ba57916673 Signed-off-by: jungmin76.park --- src/FShell_AppWidgetManagerService.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FShell_AppWidgetManagerService.cpp b/src/FShell_AppWidgetManagerService.cpp index 9541481..fb3b8a2 100644 --- a/src/FShell_AppWidgetManagerService.cpp +++ b/src/FShell_AppWidgetManagerService.cpp @@ -537,7 +537,7 @@ AppWidgetManagerService::OnAppWidgetPeriodChanged(struct event_arg *arg, void* d int AppWidgetManagerService::OnAppWidgetRecreate(struct event_arg *arg, void* data) { - const int MAX_LENGTH = 0xFF;// FUi_Control.h + const int MAX_LENGTH = 0xFFFF;// FUi_Control.h SysAssertf(arg != null && arg->pkgname != null && arg->id != null && arg->type == event_arg::EVENT_RENEW, "The status of data-provider-master is invalid."); SysAssertf(arg->info.lb_recreate.width >= 0 && arg->info.lb_recreate.height >= 0 && arg->info.lb_recreate.width <= MAX_LENGTH && arg->info.lb_recreate.height <= MAX_LENGTH, "w:%d, h:%d", arg->info.lb_recreate.width, arg->info.lb_recreate.height); -- 2.7.4