When I use setprop to add a new one, it's successful. So it should not reach
the max limit of system.property.

Best regards
Swandle


2011/2/26 Deva R <[email protected]>

> possibly u reached max limit of system.property entries.
> run "getprop" and see how much entries you  alreay got.
> there is a maximum limit for system property database.., u need to
> increase that.
>
> On Thu, Feb 24, 2011 at 3:59 PM, Swan <[email protected]> wrote:
> > In file services/java/com/android/server/MountService.java.
> > In function private void updatePublicVolumeState(String path, String
> > state) {}
> >
> > Add:
> >            SystemProperties.set(path, state);
> >            Slog.d(TAG, "***** set prop: " + path + " : " + state);
> >            Slog.d(TAG, "***** get prop: " + path + " : " +
> > SystemProperties.get(path, "null"));
> >
> > The value gotten from SystemProperties.get(path, "null") is null, but
> > it's not null exactly.
> > Later I use getprop command to get the value of the path, but it does
> > not exist. But I use setprop, it can set the value of the prop.
> >
> > Could anyone tell me the reason?
> > Thanks.
> >
> > --
> > unsubscribe: [email protected]
> > website: http://groups.google.com/group/android-porting
> >
>
>
>
> --
> Regards,
> Deva
> www.bittoggler.com
>

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

Reply via email to