diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2014-07-26 12:20:19 +0200 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2014-07-26 12:20:19 +0200 |
commit | aca79dc5b9e03f9ca7ca6fa9fc235265002ed71c (patch) | |
tree | 1086560af95fe3358cc24dc19e78384aa3465c1a /src/de | |
parent | f72769f8b444009af961f133b5e023142746dc81 (diff) | |
download | AntennaPod-aca79dc5b9e03f9ca7ca6fa9fc235265002ed71c.zip |
Fixed NullPointerException in AudioPlayer
Diffstat (limited to 'src/de')
-rw-r--r-- | src/de/danoeh/antennapod/activity/AudioplayerActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/de/danoeh/antennapod/activity/AudioplayerActivity.java b/src/de/danoeh/antennapod/activity/AudioplayerActivity.java index c0af60168..6373ff240 100644 --- a/src/de/danoeh/antennapod/activity/AudioplayerActivity.java +++ b/src/de/danoeh/antennapod/activity/AudioplayerActivity.java @@ -658,7 +658,7 @@ public class AudioplayerActivity extends MediaplayerActivity implements ItemDesc @Override public boolean onOptionsItemSelected(MenuItem item) { - if (drawerToggle.onOptionsItemSelected(item)) { + if (drawerToggle != null && drawerToggle.onOptionsItemSelected(item)) { return true; } else { return super.onOptionsItemSelected(item); |