title: MediaManager.addCompletionHandler doesn't work on Android
body: <p>I have another issue with <code>MediaManager</code>, I am trying to implement background music loop, and to achieve that I obviously use <code>addCompletionHandler</code>:</p>
  
  <pre><code>backgroundMedia = MediaManager.createBackgroundMedia(mediaPath);
  MediaManager.addCompletionHandler(backgroundMedia, this);
  backgroundMedia.setVolume(75);
  backgroundMedia.play();
  </code></pre>
  
  <p>this code works in Simulator but doesn't work on the real Android device (6.0, 8.1)</p>
  
  <p>Before that, I have tried to achieve the same with regular <code>MediaManager.createMedia</code> but as I mentioned in comments of my another question, it doesn't play two sounds in parallel, so either background music or sound effect will be played:</p>
  
  <p><a href="https://stackoverflow.com/questions/53318556/background-music-mediamanager-createbackgroundmedia-causes-crashes-at-app-clos">Background music (MediaManager.createBackgroundMedia) causes crashes at app closing/opening</a></p>
  
  <p>So at this moment, I see no way to play background music in a loop continuously in Codename One, maybe somebody has the workaround for that?</p>