samsung: doze: Protect com.android.systemui.doze.pulse
authorGabriele M <moto.falcon.git@gmail.com>
Thu, 10 Nov 2016 22:19:44 +0000 (23:19 +0100)
committerJan Altensen <info@stricted.net>
Fri, 20 Mar 2020 13:56:39 +0000 (14:56 +0100)
As stated in ActivityManagerService:

  The vast majority of broadcasts sent from system internals
  should be protected to avoid security holes

Change-Id: I1dc989d9d132d40835ca8dbf277285eb88e30a58

doze/AndroidManifest.xml

index 9782556b824c4e003ff270f29fd9814b09d0fccf..769fca9f494a06e9d506c702cdb5e064bdcdce36 100644 (file)
@@ -10,6 +10,8 @@
     <uses-permission android:name="android.permission.VIBRATE"/>
     <uses-permission android:name="android.permission.WAKE_LOCK" />
 
+    <protected-broadcast android:name="com.android.systemui.doze.pulse" />
+
     <uses-sdk
         android:minSdkVersion="21"
         android:targetSdkVersion="21"/>