mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-03 17:59:33 +02:00
renaming: video server => data server
This commit is contained in:
parent
b3e27a4f9d
commit
e4decfea08
4 changed files with 4 additions and 2 deletions
|
@ -263,6 +263,6 @@
|
||||||
</receiver>
|
</receiver>
|
||||||
<activity android:name="org.geometerplus.android.fbreader.tips.TipsActivity" android:theme="@style/FBReader.Dialog" android:configChanges="orientation|keyboardHidden|screenSize"/>
|
<activity android:name="org.geometerplus.android.fbreader.tips.TipsActivity" android:theme="@style/FBReader.Dialog" android:configChanges="orientation|keyboardHidden|screenSize"/>
|
||||||
<activity android:name="com.paragon.dictionary.fbreader.OpenDictionaryActivity" android:theme="@style/FBReader.Transparent" android:configChanges="orientation|keyboardHidden|screenSize"/>
|
<activity android:name="com.paragon.dictionary.fbreader.OpenDictionaryActivity" android:theme="@style/FBReader.Transparent" android:configChanges="orientation|keyboardHidden|screenSize"/>
|
||||||
<service android:name="org.geometerplus.android.fbreader.httpd.VideoService" android:launchMode="singleTask" android:process=":videoService" android:exported="false"/>
|
<service android:name="org.geometerplus.android.fbreader.httpd.DataService" android:launchMode="singleTask" android:process=":dataService" android:exported="false"/>
|
||||||
</application>
|
</application>
|
||||||
</manifest>
|
</manifest>
|
||||||
|
|
|
@ -263,6 +263,6 @@
|
||||||
</receiver>
|
</receiver>
|
||||||
<activity android:name="org.geometerplus.android.fbreader.tips.TipsActivity" android:theme="@style/FBReader.Dialog" android:configChanges="orientation|keyboardHidden|screenSize"/>
|
<activity android:name="org.geometerplus.android.fbreader.tips.TipsActivity" android:theme="@style/FBReader.Dialog" android:configChanges="orientation|keyboardHidden|screenSize"/>
|
||||||
<activity android:name="com.paragon.dictionary.fbreader.OpenDictionaryActivity" android:theme="@style/FBReader.Transparent" android:configChanges="orientation|keyboardHidden|screenSize"/>
|
<activity android:name="com.paragon.dictionary.fbreader.OpenDictionaryActivity" android:theme="@style/FBReader.Transparent" android:configChanges="orientation|keyboardHidden|screenSize"/>
|
||||||
<service android:name="org.geometerplus.android.fbreader.httpd.VideoService" android:launchMode="singleTask" android:process=":videoService" android:exported="false"/>
|
<service android:name="org.geometerplus.android.fbreader.httpd.DataService" android:launchMode="singleTask" android:process=":dataService" android:exported="false"/>
|
||||||
</application>
|
</application>
|
||||||
</manifest>
|
</manifest>
|
||||||
|
|
|
@ -32,6 +32,7 @@ public class VideoService extends Service {
|
||||||
public void run () {
|
public void run () {
|
||||||
try {
|
try {
|
||||||
myServer = new VideoServer();
|
myServer = new VideoServer();
|
||||||
|
myServer.start();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
@ -46,6 +47,7 @@ public class VideoService extends Service {
|
||||||
new Thread(new Runnable() {
|
new Thread(new Runnable() {
|
||||||
public void run () {
|
public void run () {
|
||||||
myServer.stop();
|
myServer.stop();
|
||||||
|
myServer = null;
|
||||||
}
|
}
|
||||||
}).start();
|
}).start();
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue