Defining an action for touch service so that the component name does not
need to be hardcoded
Also preventing the service behind system permission
Change-Id: Ibb3f0d8115b2355b2f5b5ee991858f6377037e45
diff --git a/quickstep/AndroidManifest.xml b/quickstep/AndroidManifest.xml
index 02b4379..d531a46 100644
--- a/quickstep/AndroidManifest.xml
+++ b/quickstep/AndroidManifest.xml
@@ -36,8 +36,13 @@
android:restoreAnyVersion="true"
android:supportsRtl="true" >
- <service android:name="com.android.quickstep.TouchInteractionService"
- android:exported="true" />
+ <service
+ android:name="com.android.quickstep.TouchInteractionService"
+ android:permission="android.permission.STATUS_BAR_SERVICE" >
+ <intent-filter>
+ <action android:name="android.intent.action.QUICKSTEP_SERVICE" />
+ </intent-filter>
+ </service>
<!-- STOPSHIP: Change exported to false once all the integration is complete.
It is set to true so that the activity can be started from command line -->