perfprofd: update unix_socket_connect to set_prop

perfprofd was generating warnings when being built that
it was using the deprecated unix_socket_connect() macro
to access the init property subsystem.

To correct this, change this to use the newer set_prop()
macro.

Change-Id: I622c554b0238ffbc00b40a966558df684be750d4
Signed-off-by: William Roberts <william.c.roberts@intel.com>
This commit is contained in:
William Roberts 2016-01-08 09:27:10 -08:00
parent 506899bff8
commit 59cea117cf
1 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,5 @@
userdebug_or_eng(`
# perfprofd disables mpdecision temporarily via setprop ctl.stop,
# then re-enables afterwards with setprop ctl.start
allow perfprofd ctl_mpdecision:property_service set;
unix_socket_connect(perfprofd, property, init)
set_prop(perfprofd, ctl_mpdecision)
')