mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 11:39:42 +01:00
wip: common library
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
This commit is contained in:
parent
e60ffc9246
commit
aeb1c751fb
@ -332,6 +332,9 @@ dependencies {
|
||||
|
||||
// implementation 'androidx.activity:activity-ktx:1.4.0'
|
||||
implementation project(':material-color-utilities')
|
||||
|
||||
//
|
||||
implementation 'com.github.nextcloud:android-common:d11641e7b1992aab3b571127388012057755e439'
|
||||
}
|
||||
|
||||
task installGitHooks(type: Copy, group: "development") {
|
||||
|
@ -31,6 +31,7 @@ import androidx.appcompat.app.AlertDialog
|
||||
import androidx.appcompat.app.AppCompatActivity
|
||||
import autodagger.AutoInjector
|
||||
import com.google.android.material.dialog.MaterialAlertDialogBuilder
|
||||
import com.nextcloud.android.common.SampleLibraryClass
|
||||
import com.nextcloud.talk.R
|
||||
import com.nextcloud.talk.application.NextcloudTalkApplication
|
||||
import com.nextcloud.talk.events.CertificateEvent
|
||||
@ -68,6 +69,9 @@ open class BaseActivity : AppCompatActivity() {
|
||||
|
||||
public override fun onResume() {
|
||||
super.onResume()
|
||||
// TODO remove this, testing only
|
||||
SampleLibraryClass()
|
||||
|
||||
if (appPreferences.isScreenSecured) {
|
||||
window.addFlags(WindowManager.LayoutParams.FLAG_SECURE)
|
||||
} else {
|
||||
|
@ -20,3 +20,8 @@
|
||||
|
||||
include ':app'
|
||||
include ':material-color-utilities'
|
||||
includeBuild('../android-common') {
|
||||
dependencySubstitution {
|
||||
substitute module('com.github.nextcloud:android-common') using project(':core')
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user