Skip to content

Commit

Permalink
Hopefully fixing a NPE on contemporary flavor
Browse files Browse the repository at this point in the history
  • Loading branch information
yeriomin committed Oct 15, 2018
1 parent cf23acd commit 71c8cf1
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ public void setDeviceView(TextView deviceView) {
@Override
protected void onPostExecute(Void result) {
super.onPostExecute(result);
if (null == avatarViewRef.get() || null == userNameViewRef.get() || null == deviceViewRef.get()) {
return;
}
if (YalpStoreApplication.user.isLoggedIn()) {
Map<String, String> devices = new SpoofDeviceManager(context).getDevicesShort();
if (!TextUtils.isEmpty(YalpStoreApplication.user.getDeviceDefinitionName())
Expand Down

0 comments on commit 71c8cf1

Please sign in to comment.