Fixed issue #4447
This commit is contained in:
parent
1e72f7f5e3
commit
5182a723b1
1 changed files with 1 additions and 2 deletions
|
@ -55,7 +55,6 @@ import net.osmand.plus.download.DownloadActivity;
|
|||
import net.osmand.plus.download.DownloadIndexesThread.DownloadEvents;
|
||||
import net.osmand.plus.download.IndexItem;
|
||||
import net.osmand.plus.helpers.FileNameTranslationHelper;
|
||||
import net.osmand.plus.inapp.InAppHelper;
|
||||
import net.osmand.plus.resources.IncrementalChangesManager;
|
||||
import net.osmand.util.Algorithms;
|
||||
|
||||
|
@ -467,7 +466,7 @@ public class LocalIndexesFragment extends OsmandExpandableListFragment implement
|
|||
if (operation == DELETE_OPERATION) {
|
||||
File f = new File(info.getPathToData());
|
||||
successfull = Algorithms.removeAllFiles(f);
|
||||
if (InAppHelper.isSubscribedToLiveUpdates()) {
|
||||
if (getMyApplication().getSettings().LIVE_UPDATES_PURCHASED.get()) {
|
||||
String fileNameWithoutExtension =
|
||||
Algorithms.getFileNameWithoutExtension(f);
|
||||
IncrementalChangesManager changesManager =
|
||||
|
|
Loading…
Reference in a new issue