(UnsatisfiedLinkError e, RecoveryStrategy recovery)
| 986 | } |
| 987 | |
| 988 | @SuppressLint({"CatchGeneralException", "EmptyCatchBlock"}) |
| 989 | private static boolean recoverLocked(UnsatisfiedLinkError e, RecoveryStrategy recovery) { |
| 990 | @Nullable Throwable failure = null; |
| 991 | ObserverHolder.onRecoveryStart(recovery); |
| 992 | try { |
| 993 | return recovery.recover(e, sSoSources); |
| 994 | } catch (Throwable t) { |
| 995 | failure = t; |
| 996 | throw t; |
| 997 | } finally { |
| 998 | ObserverHolder.onRecoveryEnd(failure); |
| 999 | } |
| 1000 | } |
| 1001 | |
| 1002 | private static synchronized @Nullable RecoveryStrategy getRecoveryStrategy() { |
| 1003 | return sRecoveryStrategyFactory == null ? null : sRecoveryStrategyFactory.get(); |
no test coverage detected