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
This commit is contained in:
Sunny Goyal
2018-03-01 10:46:55 -08:00
parent 43936eb05c
commit 2c3eafcb26

View File

@@ -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 -->