updating commons with the sideloading check

This commit is contained in:
tibbi 2019-08-07 16:14:25 +02:00
parent a83d0c73a8
commit 0010c5df25
4 changed files with 6 additions and 3 deletions

View File

@ -57,7 +57,7 @@ android {
}
dependencies {
implementation 'com.simplemobiletools:commons:5.15.9'
implementation 'com.simplemobiletools:commons:5.15.23'
implementation 'joda-time:joda-time:2.10.1'
implementation 'androidx.multidex:multidex:2.0.1'
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta2'

View File

@ -90,6 +90,10 @@ class EventActivity : SimpleActivity() {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_event)
if (checkAppSideloading()) {
return
}
supportActionBar?.setHomeAsUpIndicator(R.drawable.ic_cross)
val intent = intent ?: return
mDialogTheme = getDialogTheme()

View File

@ -7,8 +7,6 @@ import com.simplemobiletools.commons.activities.BaseSplashActivity
import org.joda.time.DateTime
class SplashActivity : BaseSplashActivity() {
override fun getAppPackageName() = packageName
override fun initActivity() {
when {
intent.extras?.containsKey(DAY_CODE) == true -> Intent(this, MainActivity::class.java).apply {

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="package_name">com.simplemobiletools.calendar.pro</string>
<!-- Release notes -->
<string name="release_155">Allow customizing the bottom navigation bar color</string>