javaextensions/location/landmarks/javasrc.s60/com/nokia/mj/impl/location/LandmarkStoreManager.java
changeset 78 71ad690e91f5
parent 21 2a9601315dfc
--- a/javaextensions/location/landmarks/javasrc.s60/com/nokia/mj/impl/location/LandmarkStoreManager.java	Fri Sep 17 16:44:34 2010 +0300
+++ b/javaextensions/location/landmarks/javasrc.s60/com/nokia/mj/impl/location/LandmarkStoreManager.java	Mon Oct 04 11:29:25 2010 +0300
@@ -192,7 +192,7 @@
      * @return NativeError.KErrNone if no error occured. Otherwise one of the
      *         system-wide error codes
      */
-    public int deleteStore(Locator aLocator)
+    synchronized public int deleteStore(Locator aLocator)
     {
         if (aLocator == null)
         {
@@ -213,7 +213,7 @@
      * Removes a native side landmark store peer object from this class
      * @param aStoreHandle A handle to the store which is to be removed
      */
-    public void removeStore(String aStoreUri, int aStoreHandle)
+    synchronized public void removeStore(String aStoreUri, int aStoreHandle)
     {
         // Unregister the landmark store if there is an open store. This
         // quarantees that the closed store will not be provided to any