From 2a0c36705beb68c16f0ab342fd3b4d0441afbcb3 Mon Sep 17 00:00:00 2001 From: Jezer Crespo Date: Fri, 22 Aug 2014 13:54:53 +0800 Subject: [PATCH] Added NullPointerException on the 'throws' of updateStory method --- .../src/org/brickred/socialauth/android/SocialAuthAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/socialauth-android/src/org/brickred/socialauth/android/SocialAuthAdapter.java b/socialauth-android/src/org/brickred/socialauth/android/SocialAuthAdapter.java index c285bed..bba5c95 100644 --- a/socialauth-android/src/org/brickred/socialauth/android/SocialAuthAdapter.java +++ b/socialauth-android/src/org/brickred/socialauth/android/SocialAuthAdapter.java @@ -894,7 +894,7 @@ public void run() { @SuppressWarnings("unchecked") public void updateStory(final String message, final String name, final String caption, final String description, final String link, final String picture, final SocialAuthListener listener) - throws UnsupportedEncodingException { + throws UnsupportedEncodingException,NullPointerException { if (getCurrentProvider().getProviderId().equalsIgnoreCase("facebook")) { final Map params = new HashMap();