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

Reply via email to