diff --git a/app/build.gradle b/app/build.gradle
index 8f5658ab..adf369a5 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -8,7 +8,7 @@ android {
applicationId = 'com.tutpro.baresip'
minSdkVersion 21
targetSdkVersion 26
- versionCode = 3
+ versionCode = 5
versionName = '1.0'
ndk {
abiFilters 'armeabi-v7a'
@@ -33,10 +33,10 @@ android {
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
- implementation 'com.android.support:appcompat-v7:25.2.0'
- implementation 'com.android.support.constraint:constraint-layout:1.0.1'
+ implementation 'com.android.support:appcompat-v7:26.1.0'
+ implementation 'com.android.support.constraint:constraint-layout:1.1.2'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
- implementation 'com.android.support:design:25.4.0'
+ implementation 'com.android.support:design:26.1.0'
}
repositories {
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 2cf460a7..1f668d14 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -4,26 +4,22 @@
-
-
-
-
diff --git a/app/src/main/kotlin/com/tutpro/baresip/AccountActivity.kt b/app/src/main/kotlin/com/tutpro/baresip/AccountActivity.kt
index e206d603..f652ac5a 100644
--- a/app/src/main/kotlin/com/tutpro/baresip/AccountActivity.kt
+++ b/app/src/main/kotlin/com/tutpro/baresip/AccountActivity.kt
@@ -283,28 +283,28 @@ class AccountActivity : AppCompatActivity() {
fun onClick(v: View) {
when (v) {
- findViewById(R.id.DisplayNameTitle) -> {
+ findViewById(R.id.DisplayNameTitle) as TextView-> {
Utils.alertView(this, "Display Name", getString(R.string.dispName))
}
- findViewById(R.id.AuthUserTitle) -> {
+ findViewById(R.id.AuthUserTitle) as TextView -> {
Utils.alertView(this, "Authentication Username",
getString(R.string.authUser))
}
- findViewById(R.id.AuthPassTitle) -> {
+ findViewById(R.id.AuthPassTitle) as TextView-> {
Utils.alertView(this, "Authentication Password",
getString(R.string.authPass))
}
- findViewById(R.id.OutboundProxyTitle) -> {
+ findViewById(R.id.OutboundProxyTitle) as TextView -> {
Utils.alertView(this, "Outbound Proxies",
getString(R.string.obProxies))
}
- findViewById(R.id.RegTitle) -> {
+ findViewById(R.id.RegTitle) as TextView -> {
Utils.alertView(this, "Register", getString(R.string.register))
}
- findViewById(R.id.AudioCodecsTitle) -> {
+ findViewById(R.id.AudioCodecsTitle) as TextView -> {
Utils.alertView(this, "Audio Codecs", getString(R.string.auCodecs))
}
- findViewById(R.id.MediaEncTitle) -> {
+ findViewById(R.id.MediaEncTitle) as TextView -> {
Utils.alertView(this, "Media Encryption",
getText(R.string.mediaEnc).toString())
}
diff --git a/build.gradle b/build.gradle
index af5b5347..20e557d1 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,7 +1,7 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
- ext.kotlin_version = '1.2.50'
+ ext.kotlin_version = '1.2.51'
repositories {
jcenter()
google()