From 6647bf7285defdd4d5a51677d63d5ec2e722a104 Mon Sep 17 00:00:00 2001 From: Ajay Dudani Date: Sun, 21 Jul 2013 09:03:41 -0700 Subject: init: Increase maximum number of Android properties to 372 Bug: 9941046 -- encryption failed Change-Id: Ib9c2921a2b574542cce98d2eadbd9204a1ad0bf0 Signed-off-by: Iliyan Malchev --- init/property_service.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/init/property_service.c b/init/property_service.c index e9cf1bb4e..64f6b4037 100755 --- a/init/property_service.c +++ b/init/property_service.c @@ -151,12 +151,12 @@ out: return -1; } -/* (8 header words + 247 toc words) = 1020 bytes */ -/* 1024 bytes header and toc + 247 prop_infos @ 128 bytes = 32640 bytes */ +/* (8 header words + 372 toc words) = 1520 bytes */ +/* 1536 bytes header and toc + 372 prop_infos @ 128 bytes = 49152 bytes */ -#define PA_COUNT_MAX 247 -#define PA_INFO_START 1024 -#define PA_SIZE 32768 +#define PA_COUNT_MAX 372 +#define PA_INFO_START 1536 +#define PA_SIZE 49152 static workspace pa_workspace; static prop_info *pa_info_array; -- cgit v1.2.3-54-g00ecf