Refactored server lifecycle so that it is hosted in a foreground service, removed ServerDialog and moved it's function into the TACNET fragment host, stubbed service for TACNET Connection

This commit is contained in:
2020-11-10 10:37:31 -06:00
parent e90478a117
commit a8ec2d0956
12 changed files with 479 additions and 285 deletions

View File

@@ -7,15 +7,25 @@
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<application
android:requestLegacyExternalStorage="true"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:requestLegacyExternalStorage="true"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<service
android:name=".tacnet.TACNETServerService"
android:enabled="true"
android:exported="false"/>
<service
android:name=".tacnet.TACNETConnectionService"
android:enabled="true"
android:exported="false"/>
<activity
android:name=".LauncherActivity"
android:label="@string/app_name">
@@ -25,7 +35,7 @@
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".MainActivity"/>
<activity android:name=".MainActivity" />
</application>
</manifest>