Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Ch4t4r committed Aug 12, 2021
1 parent 1d6aa91 commit c04f700
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
12 changes: 6 additions & 6 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,12 @@ dependencies {
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.1'


implementation 'com.frostnerd.utilskt:lifecycle:1.2.2'
implementation 'com.frostnerd.utilskt:preferences:1.5.31' // https://git.frostnerd.com/AndroidUtils/preferenceskt
implementation 'com.frostnerd.utilskt:navigationdraweractivity:1.4.3' // https://git.frostnerd.com/AndroidUtils/navigationdraweractivity
implementation 'com.frostnerd.utilskt:encrypteddnstunnelproxy:2.1.31' // https://git.frostnerd.com/AndroidUtils/encrypteddnstunnelproxy
implementation 'com.frostnerd.utilskt:general:1.0.26' // https://git.frostnerd.com/AndroidUtils/generalkt
implementation 'com.frostnerd.utilskt:adapters:1.3.5' // https://git.frostnerd.com/AndroidUtils/Adapters
implementation 'com.frostnerd.utilskt:lifecycle:1.2.3'
implementation 'com.frostnerd.utilskt:preferences:1.5.32' // https://git.frostnerd.com/AndroidUtils/preferenceskt
implementation 'com.frostnerd.utilskt:navigationdraweractivity:1.4.4' // https://git.frostnerd.com/AndroidUtils/navigationdraweractivity
implementation 'com.frostnerd.utilskt:encrypteddnstunnelproxy:2.2.0' // https://git.frostnerd.com/AndroidUtils/encrypteddnstunnelproxy
implementation 'com.frostnerd.utilskt:general:1.0.27' // https://git.frostnerd.com/AndroidUtils/generalkt
implementation 'com.frostnerd.utilskt:adapters:1.3.6' // https://git.frostnerd.com/AndroidUtils/Adapters

storeImplementation 'com.google.android.gms:play-services-cronet:17.0.1'
fdroidImplementation 'com.google.android.gms:play-services-cronet:17.0.1'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import android.app.PendingIntent
import android.app.Service
import android.content.*
import android.content.pm.PackageManager
import android.hardware.display.DisplayManager
import android.net.*
import android.os.*
import android.system.OsConstants
Expand Down Expand Up @@ -597,6 +598,7 @@ class DnsVpnService : VpnService(), Runnable, CoroutineScope {

builder.addAction(NotificationCompat.Action(null, getString(R.string.notification_service_killed_ignore), ignorePendingIntent))
(getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager).notify(Notifications.ID_BAD_SERVER_CONNECTION, builder.build())
log("Showing bad connection notification.")
}

private fun hideBadConnectionNotification() {
Expand Down Expand Up @@ -1498,6 +1500,7 @@ class DnsVpnService : VpnService(), Runnable, CoroutineScope {
bypassHandlers.add(
NoConnectionDnsHandle(
getSystemService(Context.CONNECTIVITY_SERVICE) as ConnectivityManager,
getSystemService(Context.DISPLAY_SERVICE) as DisplayManager,
NoConnectionDnsHandle.Behavior.DROP_PACKETS,
regularConnectionCheckIntervalMs = 60000,
connectionListener = {
Expand Down

0 comments on commit c04f700

Please sign in to comment.