diff options
author | ByteHamster <info@bytehamster.com> | 2019-08-11 21:21:28 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2019-08-11 21:21:28 +0200 |
commit | c29b0ce8c760b75b4c61781acaf56542530ca3cc (patch) | |
tree | 56f8509d615bd11ed9fe90c188fd7f6e7415587e /app/src/main/java/de/danoeh/antennapod | |
parent | aca6e3e9e4a69cef4ad7032eb06d49f3c842408f (diff) | |
download | AntennaPod-c29b0ce8c760b75b4c61781acaf56542530ca3cc.zip |
Fixed app integration tests
Diffstat (limited to 'app/src/main/java/de/danoeh/antennapod')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/activity/MainActivity.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/activity/MainActivity.java b/app/src/main/java/de/danoeh/antennapod/activity/MainActivity.java index 728019196..102d30bcf 100644 --- a/app/src/main/java/de/danoeh/antennapod/activity/MainActivity.java +++ b/app/src/main/java/de/danoeh/antennapod/activity/MainActivity.java @@ -10,6 +10,7 @@ import android.database.DataSetObserver; import android.os.Build; import android.os.Bundle; import android.os.Handler; +import android.support.annotation.VisibleForTesting; import android.support.design.widget.Snackbar; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; @@ -843,4 +844,9 @@ public class MainActivity extends CastEnabledActivity implements NavDrawerActivi super.onNewIntent(intent); setIntent(intent); } + + @VisibleForTesting + public void updateNavDrawer() { + navAdapter.notifyDataSetChanged(); + } } |