diff --git a/surfaceflinger.te b/surfaceflinger.te
index a2abf157a3b31ecc8e1a6e0d4796dbe9fb58edcb..a750a40f0b0d7f3863fcaa2c096654f66ffb47aa 100644
--- a/surfaceflinger.te
+++ b/surfaceflinger.te
@@ -37,3 +37,7 @@ allow surfaceflinger app_data_file:file { read write };
 
 # Use open file provided by bootanim.
 allow surfaceflinger bootanim:fd use;
+
+# Allow a dumpstate triggered screenshot
+binder_call(surfaceflinger, dumpstate)
+allow surfaceflinger shell_data_file:file write;