Add protection flag field to Dangerous Permission state protos.

Bug: 154373877
Test: statsd_testdrive
Change-Id: Idf9741189aec445ee5b5596a20eaa318f6c843da
diff --git a/stats/atoms.proto b/stats/atoms.proto
index 85d4016..8d8657a 100644
--- a/stats/atoms.proto
+++ b/stats/atoms.proto
@@ -8517,7 +8517,7 @@
 }
 
 /**
- * State of a dangerous permission requested by a package
+ * State of a all permission requested by a all package
  * Pulled from: StatsCompanionService
 */
 message DangerousPermissionState {
@@ -8535,6 +8535,9 @@
 
     // Permission flags as per android.content.pm.PermissionFlags
     optional int32 permission_flags = 5;
+
+    // Permission protection flags as per android.content.pm.PermissionInfo.ProtectionFlags
+    optional int32 protection_flags = 6;
 }
 
 /**
@@ -10406,7 +10409,7 @@
 }
 
 /**
- * State of a dangerous permission requested by a package - sampled
+ * State of a all permission requested by a package - sampled
  * Pulled from: StatsCompanionService.java with data obtained from PackageManager API
 */
 message DangerousPermissionStateSampled {
@@ -10421,6 +10424,9 @@
 
     // Permission flags as per android.content.pm.PermissionFlags
     optional int32 permission_flags = 4;
+
+    // Permission protection flags as per android.content.pm.PermissionInfo.ProtectionFlags
+    optional int32 protection_flags = 5;
 }
 
 /**