mirror of
https://github.com/hanzoai/tasks.git
synced 2026-10-30 14:56:19 +00:00
## What changed? <!-- Describe what has changed in this PR --> 1. I change every UpdateActivity to UpdateActivityWithCallback everywhere in the code. 2. I removed old UpdateActivity 3. I rename UpdateActivityWithCallback to UpdateActivity 4. Fix tests, etc. ## Why? <!-- Tell your future self why have you made these changes --> Old UpdateActivity was not actually working. ActivityInfo in pending activities is a pointer, so calculating size was wrong. Few other reasons. ## How did you test it? unit tests ## Risks With this change the size of mutable state is calculated properly. This means that in some cases it may change, thus becoming larger then before, and trigger some errors. ## Documentation <!-- Have you made sure this change doesn't falsify anything currently stated in `docs/`? If significant new behavior is added, have you described that in `docs/`? --> ## Is hotfix candidate? <!-- Is this PR a hotfix candidate or does it require a notification to be sent to the broader community? (Yes/No) --> No --------- Co-authored-by: Alex Shtin <[email protected]>