Skip to content

Commit

Permalink
remove custom map configuration provider
Browse files Browse the repository at this point in the history
  • Loading branch information
wuan committed Aug 13, 2021
1 parent 79d9561 commit 2866251
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 35 deletions.
2 changes: 0 additions & 2 deletions app/src/main/java/org/blitzortung/android/app/Main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

package org.blitzortung.android.app

import MapConfigurationProvider
import android.Manifest.permission.*
import android.annotation.TargetApi
import android.content.Context
Expand Down Expand Up @@ -246,7 +245,6 @@ class Main : FragmentActivity(), OnSharedPreferenceChangeListener {
}

private fun initializeOsmDroid() {
Configuration.setConfigurationProvider(MapConfigurationProvider(applicationContext))
val osmDroidConfig = Configuration.getInstance()
osmDroidConfig.load(this, preferences)
Log.v(LOG_TAG, "Main.onCreate() osmdroid base ${osmDroidConfig.osmdroidBasePath} tiles ${osmDroidConfig.osmdroidTileCache}, size: ${osmDroidConfig.osmdroidTileCache.length()}")
Expand Down

This file was deleted.

0 comments on commit 2866251

Please sign in to comment.