Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 42be478a authored by Ricki Hirner's avatar Ricki Hirner
Browse files

Update test dependencies

parent ed767894
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -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}"

+2 −0
Original line number Diff line number Diff line
@@ -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
@@ -158,6 +159,7 @@ class AccountsActivity: AppCompatActivity(), NavigationView.OnNavigationItemSele
            ContentResolver.removeStatusChangeListener(syncStatusObserver)
        }

        @AnyThread
        override fun onStatusChanged(which: Int) {
            showSyncDisabled.postValue(!ContentResolver.getMasterSyncAutomatically())
        }