mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-28 18:12:31 -06:00
22 lines
581 B
Java
22 lines
581 B
Java
|
package org.webrtc;
|
||
|
|
||
|
import android.content.Context;
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
public class ContextUtils {
|
||
|
private static final String TAG = "ContextUtils";
|
||
|
private static Context applicationContext;
|
||
|
|
||
|
@Deprecated
|
||
|
public static Context getApplicationContext() {
|
||
|
return applicationContext;
|
||
|
}
|
||
|
|
||
|
public static void initialize(Context context) {
|
||
|
if (context == null) {
|
||
|
throw new IllegalArgumentException("Application context cannot be null for ContextUtils.initialize.");
|
||
|
}
|
||
|
applicationContext = context;
|
||
|
}
|
||
|
}
|