aboutsummaryrefslogtreecommitdiff
path: root/src/github/daneren2005
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-06-24 17:49:18 -0700
committerScott Jackson <daneren2005@gmail.com>2014-06-24 17:49:18 -0700
commitd6a11c8450b36abdf02a9e4176e271ece0e6671a (patch)
treef99829a25012b367a85c96bc8ebe0eb9ce1b84bc /src/github/daneren2005
parentb6c6ba694fdee09e3cb3eb46e9f47d4fa613bc9e (diff)
downloaddsub-d6a11c8450b36abdf02a9e4176e271ece0e6671a.tar.gz
dsub-d6a11c8450b36abdf02a9e4176e271ece0e6671a.tar.bz2
dsub-d6a11c8450b36abdf02a9e4176e271ece0e6671a.zip
Refresh current options menu after done getting user
Diffstat (limited to 'src/github/daneren2005')
-rw-r--r--src/github/daneren2005/dsub/util/UserUtil.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/util/UserUtil.java b/src/github/daneren2005/dsub/util/UserUtil.java
index 7a93f535..068e25f9 100644
--- a/src/github/daneren2005/dsub/util/UserUtil.java
+++ b/src/github/daneren2005/dsub/util/UserUtil.java
@@ -77,6 +77,13 @@ public final class UserUtil {
}
@Override
+ protected void done(Void result) {
+ if(context instanceof Activity) {
+ ((Activity) context).invalidateOptionsMenu();
+ }
+ }
+
+ @Override
protected void error(Throwable error) {
// Don't do anything, supposed to be background pull
Log.e(TAG, "Failed to seed user information");