fix bug when long runing in background
[rtmpclient.git] / app / src / main / AndroidManifest.xml
index 19ba5b3..1468979 100644 (file)
@@ -9,6 +9,13 @@
         android:roundIcon="@mipmap/ic_launcher_round"
         android:supportsRtl="true"
         android:theme="@style/AppTheme">
+        <service android:enabled="true"
+                    android:exported="true"
+                    android:name=".MyService">
+            <intent-filter>
+                <action android:name="ai.suanzi.rtmpclient.service" />
+            </intent-filter>
+        </service>
         <activity android:name=".MainActivity">
             <intent-filter>
                 <action android:name="android.intent.action.MAIN" />