Add missing checkNotNull to bitmapLoader.

#minor-release

PiperOrigin-RevId: 540309118
This commit is contained in:
siroberts 2023-06-14 18:22:13 +01:00 committed by Ian Baker
parent 3d674fa2f3
commit cf21add916

View File

@ -1584,7 +1584,7 @@ public class MediaSession {
@SuppressWarnings("unchecked")
public BuilderT setBitmapLoader(BitmapLoader bitmapLoader) {
this.bitmapLoader = bitmapLoader;
this.bitmapLoader = checkNotNull(bitmapLoader);
return (BuilderT) this;
}