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

Delete persisted NDK events earlier in delivery process #1562

Merged
merged 1 commit into from
Dec 20, 2021

Conversation

fractalwrench
Copy link
Contributor

@fractalwrench fractalwrench commented Dec 20, 2021

Goal

Deletes persisted NDK events as soon as they are read back into a bsg_event struct. This avoids the chance of a crash loop happening if NativeInterface.deliverReport() throws an exception.

Testing

Relied on existing E2E test coverage.

@fractalwrench fractalwrench changed the title Delete persisted NDK structs earlier Delete persisted NDK events earlier in delivery process Dec 20, 2021
@fractalwrench fractalwrench marked this pull request as ready for review December 20, 2021 14:07
@bugsnagbot
Copy link
Collaborator

Android notifier sizes

Format Size impact of Bugsnag (kB) Size impact of Bugsnag when Minified (kB)
APK 1353.31 1168.15
arm64_v8a 483.72 299.4
armeabi -492.59 -21.55
armeabi_v7a 455.06 270.74
x86 520.57 340.35
x86_64 508.29 323.97

Generated by 🚫 Danger

@fractalwrench fractalwrench merged commit b9fd6d0 into next Dec 20, 2021
@fractalwrench fractalwrench deleted the PLAT-6188/delete-ndk-file-early branch December 20, 2021 15:18
@lemnik lemnik mentioned this pull request Jan 5, 2022
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.

3 participants