Commit 0250baee authored by Ricki Hirner's avatar Ricki Hirner

Lint cleanup for Android P

parent 05d19707
......@@ -22,7 +22,6 @@ import
import android.view.MenuItem
import android.view.View
import at.bitfire.davdroid.App
import at.bitfire.davdroid.R
import at.bitfire.davdroid.settings.ISettings
......@@ -7,7 +7,10 @@
package at.bitfire.davdroid.ui.setup
import android.annotation.SuppressLint
import android.annotation.TargetApi
import android.content.Context
import android.os.Build
import android.os.Parcel
import android.os.Parcelable
import at.bitfire.dav4android.DavResource
......@@ -443,7 +446,8 @@ class DavResourceFinder(
override fun describeContents() = 0
override fun writeToParcel(dest: Parcel, flags: Int) {
override fun writeToParcel(dest: Parcel, flags: Int) { @TargetApi(Build.VERSION_CODES.N)
fun writeServiceInfo(info: ServiceInfo?) {
if (info == null)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment