Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Accelerate Networks
Accelerate Networks Mobile for Android
Commits
c9f68abb
Commit
c9f68abb
authored
Mar 19, 2022
by
Jesse Gruver (piajesse)
Browse files
disabled updatechecker and updated version number for googleplay
parent
21e248eb
Pipeline
#5431
passed with stage
in 5 minutes and 24 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/build.gradle
View file @
c9f68abb
...
...
@@ -29,7 +29,7 @@ if (crashlyticsEnabled()) {
def
gitBranch
=
new
ByteArrayOutputStream
()
task
getGitVersion
()
{
def
gitVersion
=
"4.5.6.
3
"
def
gitVersion
=
"4.5.6.
4
"
def
gitVersionStream
=
new
ByteArrayOutputStream
()
def
gitCommitsCount
=
new
ByteArrayOutputStream
()
def
gitCommitHash
=
new
ByteArrayOutputStream
()
...
...
@@ -89,7 +89,7 @@ android {
defaultConfig
{
minSdkVersion
23
targetSdkVersion
30
versionCode
456
3
versionCode
456
4
versionName
"${project.version}"
applicationId
getPackageName
()
}
...
...
app/src/main/java/org/linphone/activities/main/dialer/fragments/DialerFragment.kt
View file @
c9f68abb
...
...
@@ -208,7 +208,7 @@ class DialerFragment : SecureFragment<DialerFragmentBinding>() {
val
browserIntent
=
Intent
(
Intent
.
ACTION_VIEW
,
Uri
.
parse
(
url
))
startActivity
(
browserIntent
)
dialog
.
dismiss
()
},
getString
(
R
.
string
.
dialog_ok
)
)
},
"Check Play Store"
)
dialog
.
show
()
}
...
...
app/src/main/java/org/linphone/activities/main/dialer/viewmodels/DialerViewModel.kt
View file @
c9f68abb
...
...
@@ -129,19 +129,19 @@ class DialerViewModel : LogsUploadViewModel() {
}
}
override
fun
onVersionUpdateCheckResultReceived
(
core
:
Core
,
result
:
VersionUpdateCheckResult
,
version
:
String
?,
url
:
String
?
)
{
if
(
result
==
VersionUpdateCheckResult
.
NewVersionAvailable
)
{
Log
.
i
(
"[Dialer] Update available, version [$version], url [$url]"
)
if
(
url
!=
null
&&
url
.
isNotEmpty
())
{
updateAvailableEvent
.
value
=
Event
(
url
)
}
}
}
//
override fun onVersionUpdateCheckResultReceived(
//
core: Core,
//
result: VersionUpdateCheckResult,
//
version: String?,
//
url: String?
//
) {
//
if (result == VersionUpdateCheckResult.NewVersionAvailable) {
//
Log.i("[Dialer] Update available, version [$version], url [$url]")
//
if (url != null && url.isNotEmpty()) {
//
updateAvailableEvent.value = Event(url)
//
}
//
}
//
}
}
init
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment