|
@@ -437,7 +437,7 @@ public class CallNotificationController extends BaseController {
|
|
(getActivity()).getBitmapPool(), resource, avatarSize, avatarSize));
|
|
(getActivity()).getBitmapPool(), resource, avatarSize, avatarSize));
|
|
}
|
|
}
|
|
|
|
|
|
- if (getResources() != null) {
|
|
|
|
|
|
+ if (getResources() != null && incomingTextRelativeLayout != null) {
|
|
incomingTextRelativeLayout.setBackground(getResources().getDrawable(R.drawable
|
|
incomingTextRelativeLayout.setBackground(getResources().getDrawable(R.drawable
|
|
.incoming_gradient));
|
|
.incoming_gradient));
|
|
}
|
|
}
|
|
@@ -453,7 +453,7 @@ public class CallNotificationController extends BaseController {
|
|
script.forEach(output);
|
|
script.forEach(output);
|
|
output.copyTo(resource);
|
|
output.copyTo(resource);
|
|
|
|
|
|
- if (backgroundImageView != null) {
|
|
|
|
|
|
+ if (backgroundImageView != null && backgroundImageView != null) {
|
|
backgroundImageView.setImageDrawable(new BitmapDrawable(resource));
|
|
backgroundImageView.setImageDrawable(new BitmapDrawable(resource));
|
|
}
|
|
}
|
|
} else if (AvatarStatusCodeHolder.getInstance().getStatusCode() == 201) {
|
|
} else if (AvatarStatusCodeHolder.getInstance().getStatusCode() == 201) {
|