Provision is the AOSP 'setup wizard' app...

...which means it needs to declare so in its ACTION_MAIN intent filter
as well as be installed as 'privileged,' otherwise it will not be
permitted to request elevated priority for that intent filter.

Bug 28748710

Change-Id: Ic6b0f440ab67d2ad65c962b129a4e5b149c374d5
diff --git a/Android.mk b/Android.mk
index 1be3f23..e03490f 100644
--- a/Android.mk
+++ b/Android.mk
@@ -7,6 +7,7 @@
 
 LOCAL_PACKAGE_NAME := Provision
 LOCAL_CERTIFICATE := platform
+LOCAL_PRIVILEGED_MODULE := true
 
 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
 
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 585e9cc..8360578 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -30,6 +30,7 @@
                 <action android:name="android.intent.action.MAIN" />
                 <category android:name="android.intent.category.HOME" />
                 <category android:name="android.intent.category.DEFAULT" />
+                <category android:name="android.intent.category.SETUP_WIZARD" />
             </intent-filter>
         </activity>
     </application>