Merge "Allow thermald to connect to mpdecision."
diff --git a/sepolicy/thermald.te b/sepolicy/thermald.te
index 201f466..e28eb19 100644
--- a/sepolicy/thermald.te
+++ b/sepolicy/thermald.te
@@ -28,3 +28,7 @@
 # /sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_min_freq
 # /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq
 allow thermald sysfs:file write;
+
+# Connect to mpdecision.
+allow thermald mpdecision_socket:dir r_dir_perms;
+unix_socket_connect(thermald, mpdecision, mpdecision)