Merge branch 'develop' into refresh_folder_contents_when_browsed_into
[pub/Android/ownCloud.git] / src / com / owncloud / android / syncadapter / FileSyncService.java
index 06c8e85..3c99975 100644 (file)
@@ -31,14 +31,14 @@ import android.os.IBinder;
  */\r
 public class FileSyncService extends Service {\r
     \r
-    public static final String SYNC_MESSAGE = "ACCOUNT_SYNC";\r
+    private static final String SYNC_MESSAGE = "ACCOUNT_SYNC";\r
     public static final String SYNC_FOLDER_REMOTE_PATH = "SYNC_FOLDER_REMOTE_PATH";\r
     public static final String IN_PROGRESS = "SYNC_IN_PROGRESS";\r
     public static final String ACCOUNT_NAME = "ACCOUNT_NAME";\r
     public static final String SYNC_RESULT = "SYNC_RESULT";\r
 \r
-    public String getSyncMessage(){\r
-        return getClass().getName().toString() + SYNC_MESSAGE;\r
+    public static String getSyncMessage(){\r
+        return FileSyncService.class.getName().toString() + SYNC_MESSAGE;\r
     }\r
     /*\r
      * {@inheritDoc}\r