aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2012-09-04 13:08:19 -0700
committerScott Jackson <daneren2005@gmail.com>2012-09-04 13:08:19 -0700
commit09908a951a29580a43775fff02fe4d472b8efa34 (patch)
tree37da569604cc979d17c10fee817e992d7af0a628 /subsonic-android
parentfda23bff0cec4eb286a955e0811616b217c35010 (diff)
downloaddsub-09908a951a29580a43775fff02fe4d472b8efa34.tar.gz
dsub-09908a951a29580a43775fff02fe4d472b8efa34.tar.bz2
dsub-09908a951a29580a43775fff02fe4d472b8efa34.zip
Renamed widget
Diffstat (limited to 'subsonic-android')
-rw-r--r--subsonic-android/AndroidManifest.xml2
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/provider/DSubWidgetProvider.java (renamed from subsonic-android/src/github/daneren2005/dsub/provider/SubsonicAppWidgetProvider1.java)10
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/util/Util.java6
3 files changed, 9 insertions, 9 deletions
diff --git a/subsonic-android/AndroidManifest.xml b/subsonic-android/AndroidManifest.xml
index baaab067..8cc8eb82 100644
--- a/subsonic-android/AndroidManifest.xml
+++ b/subsonic-android/AndroidManifest.xml
@@ -100,7 +100,7 @@
</intent-filter>
</receiver>
- <receiver android:name="github.daneren2005.dsub.provider.SubsonicAppWidgetProvider1" >
+ <receiver android:name="github.daneren2005.dsub.provider.DSubWidgetProvider" >
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
</intent-filter>
diff --git a/subsonic-android/src/github/daneren2005/dsub/provider/SubsonicAppWidgetProvider1.java b/subsonic-android/src/github/daneren2005/dsub/provider/DSubWidgetProvider.java
index 40655b9d..c6861f0a 100644
--- a/subsonic-android/src/github/daneren2005/dsub/provider/SubsonicAppWidgetProvider1.java
+++ b/subsonic-android/src/github/daneren2005/dsub/provider/DSubWidgetProvider.java
@@ -53,14 +53,14 @@ import github.daneren2005.dsub.util.FileUtil;
*
* @author Sindre Mehus
*/
-public class SubsonicAppWidgetProvider1 extends AppWidgetProvider {
+public class DSubWidgetProvider extends AppWidgetProvider {
- private static SubsonicAppWidgetProvider1 instance;
- private static final String TAG = SubsonicAppWidgetProvider1.class.getSimpleName();
+ private static DSubWidgetProvider instance;
+ private static final String TAG = DSubWidgetProvider.class.getSimpleName();
- public static synchronized SubsonicAppWidgetProvider1 getInstance() {
+ public static synchronized DSubWidgetProvider getInstance() {
if (instance == null) {
- instance = new SubsonicAppWidgetProvider1();
+ instance = new DSubWidgetProvider();
}
return instance;
}
diff --git a/subsonic-android/src/github/daneren2005/dsub/util/Util.java b/subsonic-android/src/github/daneren2005/dsub/util/Util.java
index 37dfc6f5..cf3b6ca4 100644
--- a/subsonic-android/src/github/daneren2005/dsub/util/Util.java
+++ b/subsonic-android/src/github/daneren2005/dsub/util/Util.java
@@ -54,7 +54,7 @@ import github.daneren2005.dsub.domain.MusicDirectory;
import github.daneren2005.dsub.domain.PlayerState;
import github.daneren2005.dsub.domain.RepeatMode;
import github.daneren2005.dsub.domain.Version;
-import github.daneren2005.dsub.provider.SubsonicAppWidgetProvider1;
+import github.daneren2005.dsub.provider.DSubWidgetProvider;
import github.daneren2005.dsub.receiver.MediaButtonIntentReceiver;
import github.daneren2005.dsub.service.DownloadServiceImpl;
import org.apache.http.HttpEntity;
@@ -644,7 +644,7 @@ public final class Util {
});
// Update widget
- SubsonicAppWidgetProvider1.getInstance().notifyChange(context, downloadService, true);
+ DSubWidgetProvider.getInstance().notifyChange(context, downloadService, true);
}
public static void hidePlayingNotification(final Context context, final DownloadServiceImpl downloadService, Handler handler) {
@@ -658,7 +658,7 @@ public final class Util {
});
// Update widget
- SubsonicAppWidgetProvider1.getInstance().notifyChange(context, downloadService, false);
+ DSubWidgetProvider.getInstance().notifyChange(context, downloadService, false);
}
public static void sleepQuietly(long millis) {