summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAjay Dudani2013-07-21 11:03:41 -0500
committerThe Android Automerger2013-07-21 12:22:33 -0500
commit6647bf7285defdd4d5a51677d63d5ec2e722a104 (patch)
tree1853159630bd2a4a482b10ced8a2bee017bd54fc
parentd6f4c27a13f6155b51dd29853155f2c42ec1f5db (diff)
downloadplatform-system-core-android-4.3_r2.1.tar.gz
platform-system-core-android-4.3_r2.1.tar.xz
platform-system-core-android-4.3_r2.1.zip
init: Increase maximum number of Android properties to 372android-4.3_r2.3android-4.3_r2.2android-4.3_r2.1
Bug: 9941046 -- encryption failed Change-Id: Ib9c2921a2b574542cce98d2eadbd9204a1ad0bf0 Signed-off-by: Iliyan Malchev <malchev@google.com>
-rwxr-xr-xinit/property_service.c10
1 files 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:
151 return -1; 151 return -1;
152} 152}
153 153
154/* (8 header words + 247 toc words) = 1020 bytes */ 154/* (8 header words + 372 toc words) = 1520 bytes */
155/* 1024 bytes header and toc + 247 prop_infos @ 128 bytes = 32640 bytes */ 155/* 1536 bytes header and toc + 372 prop_infos @ 128 bytes = 49152 bytes */
156 156
157#define PA_COUNT_MAX 247 157#define PA_COUNT_MAX 372
158#define PA_INFO_START 1024 158#define PA_INFO_START 1536
159#define PA_SIZE 32768 159#define PA_SIZE 49152
160 160
161static workspace pa_workspace; 161static workspace pa_workspace;
162static prop_info *pa_info_array; 162static prop_info *pa_info_array;