Skip to content
Snippets Groups Projects
Commit d82bf212 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Further improved parts of the code

parent 4a3ae4e5
Branches
Tags
No related merge requests found
Showing
with 78 additions and 78 deletions
......@@ -7,11 +7,11 @@
<application
android:name=".QuasseldroidNG"
android:label="@string/app_name"
android:icon="@mipmap/ic_launcher"
android:theme="@style/AppTheme"
android:allowBackup="true"
android:supportsRtl="true">
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity
android:name=".ui.MainActivity"
android:exported="true"
......@@ -24,9 +24,9 @@
</activity>
<service
android:name=".service.QuasselService"
android:label="@string/connection_service"
android:description="@string/connection_service_description"
android:exported="false" />
android:exported="false"
android:label="@string/connection_service" />
</application>
</manifest>
......@@ -85,7 +85,7 @@ class QuasselService : LifecycleService() {
Protocol_Feature.Compression,
Protocol_Feature.TLS
),
supportedProtocols = byteArrayOf(0x02)
supportedProtocols = listOf(Protocol.Datastream)
)
}
......
......@@ -6,8 +6,8 @@ import android.content.Intent
import android.content.ServiceConnection
import android.os.IBinder
import android.support.v7.app.AppCompatActivity
import de.kuschku.quasseldroid_ng.service.QuasselService
import de.kuschku.libquassel.session.Backend
import de.kuschku.quasseldroid_ng.service.QuasselService
abstract class ServiceBoundActivity : AppCompatActivity() {
protected val backend = MutableLiveData<Backend?>()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment