xbmc/xbmc — pull request #1850 by mikrohard (2012-11-27 08:23:59+00:00)
Title: [droid] Check external storage state before using it

I have some Android boxes which provide an writeable external storage path (into RAM?) even if there is no external media mounted. As a result XBMC looses all it's data after a reboot.

This commit adds a check for external storage state mounted before trying to get the path. This fixes the problem on my boxes. Tested with and without an SD card.