The type of action on selection of albums and songs is now configurable
in the settings dialog
Fixup of problems as mentioned in
https://github.com/nikclayton/android-squeezer/pull/8#issuecomment-17797889

- Code Cleanup
- Fill ListPrefernces programmatically, moving non-l10n-data away from
strings.xml and avoid code duplication.
- Renamed QueueAction to AddAction to be consistent with the naming in
squeezer
- Preference changing now tales effect im
mediately
Danish translations for configurable action on selection

of albums and songs
Signed-off-by: Kurt Aaholst <kaaholst@gmail.com>
Revert "Danish translations for configurable action on selection"

This reverts commit 393310236fc74e1cffbc69a1d7d3806e5c929abe.
Revert "Fixup of problems as mentioned in"

This reverts commit 1eed956db3224d3d99a9c0dc8401dd9f2dd2d691.
Revert "The type of action on selection of albums and songs is now configurable"

This reverts commit ae0d522e1e216b177040546c7c6ba1b120a51877.
Merge remote-tracking branch 'nik/actionbar'
Merge remote-tracking branch 'nik/master'
Resolve IllegalStateException, Fragment not attached to Activity.

It appears that isDetached() != isAdded(), and isAdded() is the correct
check to use.
Handle BitmapFactory.decodeFileDescriptor throwing an IOException.

This can happen (although is not documented as such) in
BitmapFactory.nativeDecodeFileDescriptor.  Throw the exception up in
ImageResizer.decodeSampledBitmapFromDescriptor, and catch and ignore it
in ImageFetcher.processBitmap.

Update the documentation and add @Nullable annotations to make it
clearer to future readers of the code that this is OK.
Add an isAdded() check in updateUIForPlayer.
Add a local build setup

to make "./gradlew build" work on a fresh clone, even if you don't
have the passwords for the official release key.
This will also enable any developer to test the release version of the
application.

When keys are not provided in squeezer.properties the app will be build
just like the official release version, but signed with a local release key
with password "squeezer" for the key and the keystore.
Parse status line from LMS more conservatively

This will fix a reported crash from bugsense.

When the status line come, from some servers  or in some circomstances,
the token for the playing mode (play/pause/stop), may not present.

To handle this and because this is dependant on the server version, and
at any rate beyond our control, Squeezer now checks if mode, shuffle and
repeat status are present, and if not, doesn't update the internal player
state or the UI.
Merge remote-tracking branch 'kaaholst/master' into develop
Check items.size() to avoid NPE, not whether items.get(0) != null.

The previous code didn't actually avoid the NPE.
Prepare for release 1.0.1.
Merge branch 'release-1.0.1'