Fix crashes when remote accounts are null
This commit is contained in:
parent
e935426495
commit
a38f11580e
|
@ -216,6 +216,9 @@ public class CrossActions {
|
|||
@Override
|
||||
protected void onPostExecute(Void result) {
|
||||
List<Account> remoteAccounts = response.getAccounts();
|
||||
if( response == null){
|
||||
return;
|
||||
}
|
||||
if( remoteAccounts != null && remoteAccounts.size() > 0) {
|
||||
Intent intent = new Intent(context, ShowAccountActivity.class);
|
||||
Bundle b = new Bundle();
|
||||
|
|
Loading…
Reference in New Issue