I can't use SystemProperties.set inside a system service

47 views
Skip to first unread message

Android007

unread,
Mar 3, 2013, 7:21:37 AM3/3/13
to android-...@googlegroups.com
Hi,
Is there a prerequisite for services that set a system property? I put my code inside a system service,
but I when I use getprop from the adb shell, I can't see my new property.


Android007

unread,
Mar 3, 2013, 7:39:33 AM3/3/13
to android-...@googlegroups.com
Answering my own question...
Turns out there are specifications for the properties you want to set. You need certain prefixes in order to set them and have the system accept them.
Have a look at this post:

https://groups.google.com/forum/?fromgroups=#!topic/android-porting/eJtg58RvY1M

Android007

unread,
Mar 3, 2013, 7:41:47 AM3/3/13
to android-...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages