Fixed ClassCastException during decode.
There was possibility of single decoder instance being registered
twice as notification listner. This synchronized method would eliminate that.
This was resulting in ClassCastException/ unpredictable behaviour.

Change-Id: I52e57b8e1568520c6742c20ea60e5b28610df68f
Signed-off-by: Amit Mandke <ammandke@cisco.com>
Merge "Fixed ClassCastException during decode. There was possibility of single decoder instance being registered twice as notification listner. This synchronized method would eliminate that. This was resulting in ClassCastException/ unpredictable behaviour."