netmgrd: allow netmgrd to acquire wakelock

Add policies to allow netmgrd to acquire and
release wakelocks.

Fix the following denials

avc: denied { read write } for comm="netmgrd" name="wake_lock"
dev="sysfs" ino=77 scontext=u:r:netmgrd:s0 tcontext=u:
object_r:sysfs_wake_lock:s0 tclass=file permissive=0

avc: denied { block_suspend } for pid=1073 comm="netmgrd"
capability=36 scontext=u:r:netmgrd:s0 tcontext==u:
r:netmgrd:s0 tclass=capability2 permissive=0

Bug: 24546055

Change-Id: I060c4f566bf1c4ec9d2d652f441bb4225798f2dd
diff --git a/sepolicy/netmgrd.te b/sepolicy/netmgrd.te
index 766db17..18a6f79 100755
--- a/sepolicy/netmgrd.te
+++ b/sepolicy/netmgrd.te
@@ -37,3 +37,6 @@
 
 # execute toybox/toolbox
 allow netmgrd toolbox_exec:file rx_file_perms;
+
+#Allow netmgrd to use wakelock
+wakelock_use(netmgrd)