Merge branch 'develop' into setup_buttons
[pub/Android/ownCloud.git] / src / com / owncloud / android / syncadapter / FileSyncService.java
index f6c70dc..7d4dda6 100644 (file)
@@ -28,12 +28,16 @@ import android.os.IBinder;
  * \r
  */\r
 public class FileSyncService extends Service {\r
-    public static final String SYNC_MESSAGE = "ACCOUNT_SYNC";\r
+    \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 static String getSyncMessage(){\r
+        return FileSyncService.class.getName().toString() + SYNC_MESSAGE;\r
+    }\r
     /*\r
      * {@inheritDoc}\r
      */\r