Loading app/build.gradle +5 −5 Original line number Diff line number Diff line Loading @@ -162,11 +162,11 @@ dependencies { implementation "org.apache.commons:commons-text:${versions.commonsText}" // for tests androidTestImplementation 'androidx.test:runner:1.3.0' androidTestImplementation 'androidx.test:rules:1.3.0' androidTestImplementation 'androidx.test.ext:junit-ktx:1.1.2' androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0' androidTestImplementation 'androidx.test.espresso:espresso-contrib:3.3.0' androidTestImplementation 'androidx.test:runner:1.4.0' androidTestImplementation 'androidx.test:rules:1.4.0' androidTestImplementation 'androidx.test.ext:junit-ktx:1.1.3' androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' androidTestImplementation 'androidx.test.espresso:espresso-contrib:3.4.0' androidTestImplementation 'junit:junit:4.13.2' androidTestImplementation "com.squareup.okhttp3:mockwebserver:${versions.okhttp}" Loading app/src/main/java/at/bitfire/davdroid/ui/AccountsActivity.kt +2 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,7 @@ import android.os.Build import android.os.Bundle import android.view.MenuItem import androidx.activity.viewModels import androidx.annotation.AnyThread import androidx.appcompat.app.ActionBarDrawerToggle import androidx.appcompat.app.AppCompatActivity import androidx.core.content.getSystemService Loading Loading @@ -158,6 +159,7 @@ class AccountsActivity: AppCompatActivity(), NavigationView.OnNavigationItemSele ContentResolver.removeStatusChangeListener(syncStatusObserver) } @AnyThread override fun onStatusChanged(which: Int) { showSyncDisabled.postValue(!ContentResolver.getMasterSyncAutomatically()) } Loading Loading
app/build.gradle +5 −5 Original line number Diff line number Diff line Loading @@ -162,11 +162,11 @@ dependencies { implementation "org.apache.commons:commons-text:${versions.commonsText}" // for tests androidTestImplementation 'androidx.test:runner:1.3.0' androidTestImplementation 'androidx.test:rules:1.3.0' androidTestImplementation 'androidx.test.ext:junit-ktx:1.1.2' androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0' androidTestImplementation 'androidx.test.espresso:espresso-contrib:3.3.0' androidTestImplementation 'androidx.test:runner:1.4.0' androidTestImplementation 'androidx.test:rules:1.4.0' androidTestImplementation 'androidx.test.ext:junit-ktx:1.1.3' androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' androidTestImplementation 'androidx.test.espresso:espresso-contrib:3.4.0' androidTestImplementation 'junit:junit:4.13.2' androidTestImplementation "com.squareup.okhttp3:mockwebserver:${versions.okhttp}" Loading
app/src/main/java/at/bitfire/davdroid/ui/AccountsActivity.kt +2 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,7 @@ import android.os.Build import android.os.Bundle import android.view.MenuItem import androidx.activity.viewModels import androidx.annotation.AnyThread import androidx.appcompat.app.ActionBarDrawerToggle import androidx.appcompat.app.AppCompatActivity import androidx.core.content.getSystemService Loading Loading @@ -158,6 +159,7 @@ class AccountsActivity: AppCompatActivity(), NavigationView.OnNavigationItemSele ContentResolver.removeStatusChangeListener(syncStatusObserver) } @AnyThread override fun onStatusChanged(which: Int) { showSyncDisabled.postValue(!ContentResolver.getMasterSyncAutomatically()) } Loading