Project

General

Profile

Download (4.56 KB) Statistics
| Branch: | Revision:

library / src / main / java / org / distorted / library / message / EffectMessageSender.java @ 19e77994

# Date Author Comment
19e77994 05/07/2020 09:30 PM Leszek Koltunski

Fix for a crash when exiting an app:

Activity.onPause() -> MessageSender.stopSending sets mThis to null, then a last message gets sent and a crash in newMessage().

Fix this by

1) making the Message inner class static (so that we can create a new one without a reference to mThis)...

b7209ffe 05/04/2020 04:01 PM Leszek Koltunski

Simplify a bit the place where we got a crash once.

20dbec0e 05/11/2019 10:33 PM Leszek Koltunski

Simplify the way applications can get notifications when an effect finishes.

Now, instead of the 'DistortedEffects.(de)registerForNotifications()' 2 APIs, we call a single 'Effect.notifyWhenFinished()'.

9559b088 05/07/2019 02:05 PM Leszek Koltunski

Correct the EffectMessageSender.

46b572b5 05/03/2019 10:46 PM Leszek Koltunski

Correct the Legal notice.

7602a827 05/02/2019 10:41 PM Leszek Koltunski

Rename all the classes that are not exported to application to 'Internal'

ed06301f 11/21/2018 11:09 AM Leszek Koltunski

Move EffectMessageSender to the 'message' package (duh!)