Require the STATUS_BAR_SERVICE permission for something to be the status bar.
Change-Id: I57b2d296e0d0cef0d256ae6697fffc47188d14df
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml
index 2ddb6b9..aff9453 100644
--- a/core/res/AndroidManifest.xml
+++ b/core/res/AndroidManifest.xml
@@ -908,6 +908,13 @@
android:description="@string/permdesc_statusBar"
android:protectionLevel="signatureOrSystem" />
+ <!-- Allows an application to be the status bar. Currently used only by SystemUI.apk
+ @hide -->
+ <permission android:name="android.permission.STATUS_BAR_SERVICE"
+ android:label="@string/permlab_statusBarService"
+ android:description="@string/permdesc_statusBarService"
+ android:protectionLevel="signature" />
+
<!-- Allows an application to force a BACK operation on whatever is the
top activity. -->
<permission android:name="android.permission.FORCE_BACK"