RiotX -> Element

This commit is contained in:
Benoit Marty 2020-07-16 15:59:04 +02:00
parent 5c423d2897
commit 1d2e374526
5 changed files with 5 additions and 5 deletions

View File

@ -28,7 +28,7 @@
</head> </head>
<body> <body>
<div> <div>
<p>RiotX Android</p> <p>Element Android</p>
<p>Third Party Licenses</p> <p>Third Party Licenses</p>
</div> </div>

View File

@ -36,7 +36,7 @@ class AppNameProvider @Inject constructor(private val context: Context) {
return appName return appName
} catch (e: Exception) { } catch (e: Exception) {
Timber.e(e, "## AppNameProvider() : failed") Timber.e(e, "## AppNameProvider() : failed")
return "RiotXAndroid" return "ElementAndroid"
} }
} }
} }

View File

@ -66,7 +66,7 @@ import im.vector.riotx.core.services.CallService
connection.connectionCapabilities = Connection.CAPABILITY_MUTE connection.connectionCapabilities = Connection.CAPABILITY_MUTE
connection.audioModeIsVoip = true connection.audioModeIsVoip = true
connection.setAddress(Uri.fromParts("tel", "+905000000000", null), TelecomManager.PRESENTATION_ALLOWED) connection.setAddress(Uri.fromParts("tel", "+905000000000", null), TelecomManager.PRESENTATION_ALLOWED)
connection.setCallerDisplayName("RiotX Caller", TelecomManager.PRESENTATION_ALLOWED) connection.setCallerDisplayName("Element Caller", TelecomManager.PRESENTATION_ALLOWED)
connection.statusHints = StatusHints("Testing Hint...", null, null) connection.statusHints = StatusHints("Testing Hint...", null, null)
bindService(Intent(applicationContext, CallService::class.java), CallServiceConnection(connection), 0) bindService(Intent(applicationContext, CallService::class.java), CallServiceConnection(connection), 0)

View File

@ -65,7 +65,7 @@ class VectorUncaughtExceptionHandler @Inject constructor(private val bugReporter
putBoolean(PREFS_CRASH_KEY, true) putBoolean(PREFS_CRASH_KEY, true)
} }
val b = StringBuilder() val b = StringBuilder()
val appName = "RiotX" // TODO Matrix.getApplicationName() val appName = "Element" // TODO Matrix.getApplicationName()
b.append(appName + " Build : " + versionCodeProvider.getVersionCode() + "\n") b.append(appName + " Build : " + versionCodeProvider.getVersionCode() + "\n")
b.append("$appName Version : ${versionProvider.getVersion(longFormat = true, useBuildNumber = true)}\n") b.append("$appName Version : ${versionProvider.getVersion(longFormat = true, useBuildNumber = true)}\n")

View File

@ -10,6 +10,6 @@
<string name="password_hint" translatable="false">********</string> <string name="password_hint" translatable="false">********</string>
<!-- Temporary string --> <!-- Temporary string -->
<string name="not_implemented" translatable="false">Not implemented yet in RiotX</string> <string name="not_implemented" translatable="false">Not implemented yet in Element</string>
</resources> </resources>