Ackpine icon indicating copy to clipboard operation
Ackpine copied to clipboard

Self-update doesn't update session's state

Open solrudev opened this issue 8 months ago • 1 comments

When a self-update is performed through Ackpine, session's state doesn't get updated and is stuck as COMMITTED.

The problem lies in full process stop. SESSION_BASED installer's BroadcastReceiver is not getting invoked when containing package is replaced, while INTENT_BASED installer's Activity can't receive result after full stop. It's possible to receive MY_PACKAGE_REPLACED event, but one can't determine which Ackpine session caused it.

solrudev avatar Oct 29 '23 12:10 solrudev