Commit 21fdf2ce authored by Ricki Hirner's avatar Ricki Hirner

Version bump to 2.0.7, fix small NPE

parent ea071bbd
......@@ -18,7 +18,7 @@ android {
defaultConfig {
applicationId "at.bitfire.davdroid"
versionCode 253
versionCode 254
buildConfigField "long", "buildTime", System.currentTimeMillis() + "L"
buildConfigField "boolean", "customCerts", "true"
......@@ -32,7 +32,7 @@ android {
flavorDimensions "distribution"
productFlavors {
standard {
versionName "2.0.6-ose"
versionName "2.0.7-ose"
buildConfigField "boolean", "customCerts", "true"
}
}
......
......@@ -488,7 +488,10 @@ class AccountActivity: AppCompatActivity(), Toolbar.OnMenuItemClickListener, Pop
}
override fun onReset() {
ContentResolver.removeStatusChangeListener(syncStatusListener)
syncStatusListener?.let {
ContentResolver.removeStatusChangeListener(it)
syncStatusListener = null
}
davService?.removeRefreshingStatusListener(this)
davServiceConn?.let {
......
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