- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
32 lines
726 B
Java
32 lines
726 B
Java
package androidx.core.os;
|
|
|
|
import android.os.Environment;
|
|
import androidx.annotation.NonNull;
|
|
import androidx.annotation.RequiresApi;
|
|
import java.io.File;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class EnvironmentCompat {
|
|
|
|
@Deprecated
|
|
public static final String MEDIA_UNKNOWN = "unknown";
|
|
|
|
@NonNull
|
|
public static String getStorageState(@NonNull File file) {
|
|
return Api21Impl.getExternalStorageState(file);
|
|
}
|
|
|
|
private EnvironmentCompat() {
|
|
}
|
|
|
|
@RequiresApi(21)
|
|
public static class Api21Impl {
|
|
private Api21Impl() {
|
|
}
|
|
|
|
public static String getExternalStorageState(File file) {
|
|
return Environment.getExternalStorageState(file);
|
|
}
|
|
}
|
|
}
|