Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update deprecated use of GuardedRunnable #1031

Merged
merged 1 commit into from Aug 6, 2020

Conversation

jakub-gonet
Copy link
Member

@jakub-gonet jakub-gonet commented Jul 28, 2020

Description

Previously, we were using deprecated c-tor of GuardedRunnable. This PR switches to c-tor taking exception handler as an argument.

References:

@jakub-gonet jakub-gonet self-assigned this Jul 28, 2020
@jakub-gonet jakub-gonet added this to To do in Reanimated Aug 5, 2020
@jakub-gonet jakub-gonet removed this from To do in Reanimated Aug 5, 2020
@jakub-gonet jakub-gonet merged commit 9747a33 into v1 Aug 6, 2020
@jakub-gonet jakub-gonet deleted the @kuba/update-deprecated-api branch August 6, 2020 14:38
jakub-gonet added a commit that referenced this pull request Aug 12, 2020
jakub-gonet added a commit that referenced this pull request Aug 12, 2020
Previously, we were using deprecated c-tor of `GuardedRunnable`. This PR switches to c-tor taking exception handler as an argument.

References:
- [C-tors, notice that deprecated one is using internally `reactContext.getExceptionHandler()`](https://github.com/facebook/react-native/blob/d3ac9fa0c3780b43b73de97831b75cf0a7efe9c4/ReactAndroid/src/main/java/com/facebook/react/bridge/GuardedRunnable.java#L19-L26)
kmagiera pushed a commit that referenced this pull request Aug 13, 2020
Previously, we were using deprecated c-tor of `GuardedRunnable`. This PR switches to c-tor taking exception handler as an argument.

References:
- [C-tors, notice that deprecated one is using internally `reactContext.getExceptionHandler()`](https://github.com/facebook/react-native/blob/d3ac9fa0c3780b43b73de97831b75cf0a7efe9c4/ReactAndroid/src/main/java/com/facebook/react/bridge/GuardedRunnable.java#L19-L26)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants