Allow shell read access to suspend mechanism

The sysfs node /sys/power/mem_sleep can be used to infer suspend
mechanism used by the device as part of CTS tests.

Test: adb shell cat /sys/power/mem_sleep
Bug: 378969936

Merged-In: I5bf2c5da6b5346e5b58f83cb6bab6875a8c0fea2
Change-Id: I25652e46dd816a44137c1742f3709192569defa6
diff --git a/private/shell.te b/private/shell.te
index 890d6f4..2033f7e 100644
--- a/private/shell.te
+++ b/private/shell.te
@@ -444,6 +444,9 @@
 # Allow reads (but not writes) of the MGLRU state
 allow shell sysfs_lru_gen_enabled:file r_file_perms;
 
+# Allow reads (but not writes) of mem_sleep to determine suspend mechanism
+allow shell sysfs_mem_sleep:file r_file_perms;
+
 # Allow communicating with the VM terminal.
 userdebug_or_eng(`
   allow shell vmlauncher_app_devpts:chr_file rw_file_perms;