Files
rr3-apk/decompiled/sources/com/google/firebase/components/Lazy.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

35 lines
967 B
Java

package com.google.firebase.components;
import com.google.firebase.inject.Provider;
/* loaded from: classes3.dex */
public class Lazy implements Provider {
public static final Object UNINITIALIZED = new Object();
public volatile Object instance = UNINITIALIZED;
public volatile Provider provider;
public Lazy(Provider provider) {
this.provider = provider;
}
@Override // com.google.firebase.inject.Provider
public Object get() {
Object obj = this.instance;
Object obj2 = UNINITIALIZED;
if (obj == obj2) {
synchronized (this) {
try {
obj = this.instance;
if (obj == obj2) {
obj = this.provider.get();
this.instance = obj;
this.provider = null;
}
} finally {
}
}
}
return obj;
}
}