diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-04-02 21:28:28 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-04-02 21:28:28 -0700 |
commit | 8121ea7400b906900654b097d96e521b8c9f8a82 (patch) | |
tree | 27ad8722a32a6c736cc85ae8e86b3d897c425549 | |
parent | 5c52f0ffd528838a7998a5ad84a4ca47f46502e3 (diff) | |
download | dsub-8121ea7400b906900654b097d96e521b8c9f8a82.tar.gz dsub-8121ea7400b906900654b097d96e521b8c9f8a82.tar.bz2 dsub-8121ea7400b906900654b097d96e521b8c9f8a82.zip |
Don't show change log when null
-rw-r--r-- | src/github/daneren2005/dsub/activity/SubsonicFragmentActivity.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/activity/SubsonicFragmentActivity.java b/src/github/daneren2005/dsub/activity/SubsonicFragmentActivity.java index 0d421168..e2ae0abf 100644 --- a/src/github/daneren2005/dsub/activity/SubsonicFragmentActivity.java +++ b/src/github/daneren2005/dsub/activity/SubsonicFragmentActivity.java @@ -20,6 +20,7 @@ package github.daneren2005.dsub.activity; import android.accounts.Account;
import android.accounts.AccountManager;
+import android.app.Dialog;
import android.content.ContentResolver;
import android.content.Context;
import android.content.Intent;
@@ -214,7 +215,10 @@ public class SubsonicFragmentActivity extends SubsonicActivity { ChangeLog changeLog = new ChangeLog(this, Util.getPreferences(this));
if(changeLog.isFirstRun()) {
- changeLog.getLogDialog().show();
+ Dialog log = changeLog.getLogDialog();
+ if(log != null) {
+ log.show();
+ }
}
}
|