Commit 70095c53 authored by Francisco Cunha's avatar Francisco Cunha

P4A-1022 - Rename constant

parent 2a6a2e7c
......@@ -50,7 +50,7 @@ import security.pEp.permissions.PermissionChecker
import security.pEp.permissions.PermissionRequester
import security.pEp.ui.about.AboutActivity
import security.pEp.ui.intro.startWelcomeMessage
import security.pEp.ui.keyimport.ANDROID_MARKET_URL
import security.pEp.ui.keyimport.ANDROID_FILE_MANAGER_MARKET_URL
import security.pEp.ui.keyimport.showImportKeyDialog
import security.pEp.ui.resources.ResourcesProvider
import timber.log.Timber
......@@ -562,7 +562,7 @@ class SettingsActivity : PEpImporterActivity(), PreferenceFragmentCompat.OnPrefe
R.string.open_market,
R.string.close
) {
val uri = Uri.parse(ANDROID_MARKET_URL)
val uri = Uri.parse(ANDROID_FILE_MANAGER_MARKET_URL)
val intent = Intent(Intent.ACTION_VIEW, uri)
startActivity(intent)
selectedContextAccount = null
......
......@@ -16,7 +16,7 @@ import javax.inject.Inject
const val ACCOUNT_EXTRA = "ACCOUNT_EXTRA"
const val ACTIVITY_REQUEST_PICK_KEY_FILE = 8
const val ANDROID_MARKET_URL = "https://play.google.com/store/apps/details?id=org.openintents.filemanager"
const val ANDROID_FILE_MANAGER_MARKET_URL = "https://play.google.com/store/apps/details?id=org.openintents.filemanager"
class KeyImportActivity : WizardActivity(), KeyImportView {
......@@ -125,7 +125,7 @@ class KeyImportActivity : WizardActivity(), KeyImportView {
private fun Activity.openMarketIntent() {
val uri = Uri.parse(ANDROID_MARKET_URL)
val uri = Uri.parse(ANDROID_FILE_MANAGER_MARKET_URL)
val intent = Intent(Intent.ACTION_VIEW, uri)
startActivity(intent)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment