Commit 71153f6
Add ReactSoftException in ReactHostImpl only when onActivityResult, onNewIntent and onWindowFocusChange do not have the context (#44155)
Summary:
Pull Request resolved: #44155
Add ReactSoftException in ReactHostImpl only when `onActivityResult`, `onNewIntent`and `onWindowFocusChange` do not have the context
Changelog:
[Android][Fixed] ReactSoftExceptions in ReactHostImpl only when Context is null
Reviewed By: cortinico
Differential Revision: D56325407
fbshipit-source-id: a9f8fd5772fc05d39e72236fb8edfe5f8a9d6a431 parent 2636eb1 commit 71153f6
1 file changed
Lines changed: 14 additions & 11 deletions
File tree
- packages/react-native/ReactAndroid/src/main/java/com/facebook/react/runtime
Lines changed: 14 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
653 | 653 | | |
654 | 654 | | |
655 | 655 | | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
656 | 661 | | |
657 | | - | |
658 | | - | |
659 | | - | |
660 | | - | |
661 | 662 | | |
662 | 663 | | |
663 | 664 | | |
| |||
670 | 671 | | |
671 | 672 | | |
672 | 673 | | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
673 | 679 | | |
674 | | - | |
675 | | - | |
676 | | - | |
677 | | - | |
678 | 680 | | |
679 | 681 | | |
680 | 682 | | |
| |||
701 | 703 | | |
702 | 704 | | |
703 | 705 | | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
704 | 710 | | |
705 | | - | |
706 | | - | |
707 | | - | |
708 | 711 | | |
709 | 712 | | |
710 | 713 | | |
| |||
0 commit comments