Skip to content

Commit 7d4c200

Browse files
authored
fix(auth, android): remove unecessary error type guarding (#12816)
* fix(auth, android): remove unecessary error type guarding * format
1 parent 3241c0b commit 7d4c200

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

packages/firebase_auth/firebase_auth/android/src/main/java/io/flutter/plugins/firebase/auth/FlutterFirebaseAuthPluginException.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
import java.util.List;
2323
import java.util.Map;
2424
import java.util.UUID;
25-
import java.util.concurrent.ExecutionException;
2625

2726
public class FlutterFirebaseAuthPluginException {
2827

@@ -66,10 +65,6 @@ static GeneratedAndroidFirebaseAuth.FlutterError parserExceptionToFlutter(
6665
multiFactorException.getErrorCode(), multiFactorException.getLocalizedMessage(), output);
6766
}
6867

69-
if (nativeException instanceof ExecutionException) {
70-
return FlutterFirebaseAuthPluginException.noSuchProvider();
71-
}
72-
7368
if (nativeException instanceof FirebaseNetworkException
7469
|| (nativeException.getCause() != null
7570
&& nativeException.getCause() instanceof FirebaseNetworkException)) {

0 commit comments

Comments
 (0)