diff options
Diffstat (limited to 'subsonic-android')
-rw-r--r-- | subsonic-android/AndroidManifest.xml | 2 | ||||
-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.java | 6 |
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) { |