WIP: Ensure audio continues when screen is locked
This applies two previous commits from sailfishos-esr52, to restore the NemoResourceHandler class and integrate it with MediaDecoder. This is needed so that the "media-decoder-info" notifications are sent out when certain types of media are started/stopped and to signal whether the media contains audio and/or video.
[sailfishos][media] Add NemoResourceHandler
Original SHA1: b318b3c9
Signed-off-by: Raine Makelainen raine.makelainen@jolla.com
[sailfishos][media] Update media resource state when the playing state changes for any reason. Fixes JB#42900