Remove expanded layout for MapboxNavigationNotification#1441
Remove expanded layout for MapboxNavigationNotification#1441danesfeder wants to merge 2 commits into
Conversation
f986c3c to
f958199
Compare
|
#1188 could happen if:
There's a max of what can be added into a
Yeah that's the issue. In our case, updating two views (collapsed / expanded) seems to be two fold i.e. too much causing the exception (that's why removing the expanded layout works). Although it seems it's an Android issue we could workaround it 👀
A similar use case as ours (they have collapsed and expanded too) TeamNewPipe/NewPipe#799 (comment)
We could give it a try and see if implementing ☝️ also reproduces |
|
@Guardiola31337 re-opening this as we are still seeing the crash with the code in #1455 |
|
@danesfeder unfortunately I was also able to reproduce as well with the code in here 😥 We should keep 🕵️ if it's less frequent though because that'd mean that the issue could be related to the resources we're updating in the notification (especially the images i.e. |
|
Closing in favor of #1474 |
Closes #1188
This exception seems to result from updating both expanded / normal content views in the
Notification- we has seen this a while back in #355 and was supposedly fixed in #564.Once #1059 was merged, we began seeing #1188 again, so my hunch is it's somehow related. Noting that this is reproducible after running navigation for a long time. Something within the notification framework is not being cleared properly, causing a build up of some sort. On our side, from what I can see we are doing everything we can to ensure as little updates as possible (checking that we actually need to update, rather than blindly updating the notification).