Fix crash when adding mod to playlist

If no playlists exist and user attempts to add a module to a playlist,
the browser crashed. Don't display the dialog in this case and show
a toast instead informing that there are no playlists available.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Configure proguard to keep application name

A crash was reported with the following error:

java.lang.RuntimeException: Unable to instantiate application org.helllabs.android.xmp.XmpApplication: java.lang.ClassNotFoundException: org.helllabs.android.xmp.XmpApplication in loader dalvik.system.PathClassLoader[/mnt/asec/org.helllabs.android.xmp-2/pkg.apk]

Change the proguard configuration to keep application class name intact.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Update version number

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Prevent races and check sanity in player activity

Protect modPlayer calls with synchronized checks for null because modPlayer
can become asynchronously null on service disconnection.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Comment out unused method

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Fix double lock in stop button listener

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Add extra thread synchronization

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Protect against invalid JNI data retrieval

Handler posts are asynchronous and can try to get module data from a
released module, so add a flag to avoid this situation and prevent
native crashes.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Synchronize viewer change

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Update PMD rules

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Rename playlist and file browser classes

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
[docs] Add class and sequence diagrams

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Update class names in diagram

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Fix notification actions in KitKat

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Update changelog

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Merge branch '3.9-maintenance'

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>

Conflicts:
	AndroidManifest.xml
	doc/xmp-android.asta