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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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: