mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-01 17:10:26 +08:00
Tango: fixed second database not saved when hitting Save two times consecutively
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<!-- BEGIN_INCLUDE(manifest) -->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.introlab.rtabmap"
|
||||
android:versionCode="21"
|
||||
android:versionCode="22"
|
||||
android:versionName="@RTABMAP_VERSION@">
|
||||
|
||||
<uses-permission android:name="android.permission.CAMERA" />
|
||||
|
||||
@@ -1082,14 +1082,13 @@ public class RTABMapActivity extends Activity implements OnClickListener {
|
||||
|
||||
notificationManager.notify(0, n);
|
||||
}
|
||||
mOpenedDatabasePath = newDatabasePath;
|
||||
mProgressDialog.dismiss();
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
saveThread.start();
|
||||
|
||||
mOpenedDatabasePath = newDatabasePath;
|
||||
}
|
||||
})
|
||||
.setNegativeButton("No", new DialogInterface.OnClickListener() {
|
||||
@@ -1145,14 +1144,13 @@ public class RTABMapActivity extends Activity implements OnClickListener {
|
||||
|
||||
notificationManager.notify(0, n);
|
||||
}
|
||||
mOpenedDatabasePath = newDatabasePath;
|
||||
mProgressDialog.dismiss();
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
saveThread.start();
|
||||
|
||||
mOpenedDatabasePath = newDatabasePath;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user