Hi:

It is found when use binder to transfer some data structure such as
"List<PackageInfo>" by the API "public List<PackageInfo>
getInstalledPackages(int flags)"
binder would failed with following error:
!!! FAILED BINDER TRANSACTION !!!

I found if modify
frameworks/base/libs/binder/ProcessState.cpp
#define BINDER_VM_SIZE ((1*1024*1024) - (4096 *2))
to
#define BINDER_VM_SIZE ((2*1024*1024) - (4096 *2))
Can avoid some binder transfer failure.

I question is:
Is it very dangerous to increase BINDER_VM_SIZE?

Thanks a lot!

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to