SetupWizard: allow FINISH_SETUP to be granted via whitelist
Required by http://review.cyanogenmod.org/#/c/100839/
Change-Id: Id3b62c396b5be3497be004f0f3807d8627c4e4da
Signed-off-by: Roman Birg <roman@cyngn.com>
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index d575831..69f8501 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -15,6 +15,7 @@
limitations under the License.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
package="com.cyanogenmod.setupwizard"
android:versionCode="3"
android:sharedUserId="android.uid.system">
@@ -55,7 +56,8 @@
<permission
android:name="cyanogenmod.permission.FINISH_SETUP"
- android:protectionLevel="signatureOrSystem" />
+ android:protectionLevel="signatureOrSystem"
+ androidprv:allowViaWhitelist="true" />
<permission android:name="org.whispersystems.whisperpush.permissions.REGISTER"
android:protectionLevel="signature" />