aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-09-15 20:12:51 -0700
committerScott Jackson <daneren2005@gmail.com>2014-09-15 20:12:51 -0700
commit0f6aff95a6c7ce5a3a9e3f23c6148844480e1564 (patch)
tree9034c5a05e0c7c07834ea767899e600436665b2b /src
parent5ff50b39b48cdcdccbd7e0cd130e65436602195b (diff)
downloaddsub-0f6aff95a6c7ce5a3a9e3f23c6148844480e1564.tar.gz
dsub-0f6aff95a6c7ce5a3a9e3f23c6148844480e1564.tar.bz2
dsub-0f6aff95a6c7ce5a3a9e3f23c6148844480e1564.zip
Fix web commits
Diffstat (limited to 'src')
-rw-r--r--src/github/daneren2005/dsub/fragments/NowPlayingFragment.java2
-rw-r--r--src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java4
-rw-r--r--src/github/daneren2005/dsub/util/Constants.java3
3 files changed, 4 insertions, 5 deletions
diff --git a/src/github/daneren2005/dsub/fragments/NowPlayingFragment.java b/src/github/daneren2005/dsub/fragments/NowPlayingFragment.java
index b9e6bffa..903673b8 100644
--- a/src/github/daneren2005/dsub/fragments/NowPlayingFragment.java
+++ b/src/github/daneren2005/dsub/fragments/NowPlayingFragment.java
@@ -1409,7 +1409,7 @@ public class NowPlayingFragment extends SubsonicFragment implements OnGestureLis
new EntryInstanceUpdater(currentSong) {
@Override
- public void updater(Entry found) {
+ public void update(Entry found) {
found.setBookmark(new Bookmark(position));
}
}.execute();
diff --git a/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java b/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java
index 5a60077b..824d4f33 100644
--- a/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java
+++ b/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java
@@ -396,7 +396,7 @@ public class SelectDirectoryFragment extends SubsonicFragment implements Adapter
Bundle args = new Bundle();
args.putString(Constants.INTENT_EXTRA_NAME_ID, entry.getId());
args.putString(Constants.INTENT_EXTRA_NAME_NAME, entry.getTitle());
- args.putSerializable(Constants.INTENT_EXTRA_DIRECTORY, entry);
+ args.putSerializable(Constants.INTENT_EXTRA_NAME_DIRECTORY, entry);
if ("newest".equals(albumListType)) {
args.putBoolean(Constants.INTENT_EXTRA_REFRESH_LISTINGS, true);
}
@@ -727,7 +727,7 @@ public class SelectDirectoryFragment extends SubsonicFragment implements Adapter
Bundle args = new Bundle();
args.putString(Constants.INTENT_EXTRA_NAME_ID, entry.getId());
args.putString(Constants.INTENT_EXTRA_NAME_NAME, entry.getTitle());
- args.putSerializable(Constants.INTENT_EXTRA_DIRECTORY, entry);
+ args.putSerializable(Constants.INTENT_EXTRA_NAME_DIRECTORY, entry);
if ("newest".equals(albumListType)) {
args.putBoolean(Constants.INTENT_EXTRA_REFRESH_LISTINGS, true);
}
diff --git a/src/github/daneren2005/dsub/util/Constants.java b/src/github/daneren2005/dsub/util/Constants.java
index f22fd3f0..a61102fe 100644
--- a/src/github/daneren2005/dsub/util/Constants.java
+++ b/src/github/daneren2005/dsub/util/Constants.java
@@ -37,8 +37,7 @@ public final class Constants {
// Names for intent extras.
public static final String INTENT_EXTRA_NAME_ID = "subsonic.id";
public static final String INTENT_EXTRA_NAME_NAME = "subsonic.name";
- public static final String INTENT_EXTRA_NAME_STARRED = "subsonic.starred";
- public static final String INTENT_EXTRA_NAME_RATING = "subsonic.rating";
+ public static final String INTENT_EXTRA_NAME_DIRECTORY = "subsonic.directory";
public static final String INTENT_EXTRA_NAME_CHILD_ID = "subsonic.child.id";
public static final String INTENT_EXTRA_NAME_ARTIST = "subsonic.artist";
public static final String INTENT_EXTRA_NAME_TITLE = "subsonic.title";