lollipop版本分开,有些新特性android5.0和6.0不支持

This commit is contained in:
kunfei
2023-03-30 08:40:58 +08:00
parent 058cc93be4
commit 8f62c1ab5e
258 changed files with 12817 additions and 13529 deletions

View File

@@ -0,0 +1,15 @@
package me.ag2s.base;
import androidx.annotation.NonNull;
import java.io.IOException;
public class ThrowableUtils {
public static @NonNull
IOException rethrowAsIOException(Throwable throwable) throws IOException {
IOException newException = new IOException(throwable.getMessage(), throwable);
throw newException;
}
}