mirror of
https://github.com/yggdrasil-network/crispa-android.git
synced 2024-12-05 00:22:20 +00:00
Compare commits
3 Commits
82dc18c1e5
...
96b48aab11
Author | SHA1 | Date | |
---|---|---|---|
|
96b48aab11 | ||
|
0043a0cda8 | ||
|
489fcfaa1b |
@ -12,8 +12,8 @@ android {
|
||||
minSdkVersion 15
|
||||
targetSdkVersion 32
|
||||
|
||||
versionCode 37
|
||||
versionName "2.1.0"
|
||||
versionCode 39
|
||||
versionName "2.1.2"
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
setProperty("archivesBaseName", project.getParent().name+"-"+versionName)
|
||||
|
||||
@ -90,8 +90,9 @@ dependencies {
|
||||
implementation 'com.vincentbrison.openlibraries.android:dualcache:3.1.1'
|
||||
implementation 'com.vincentbrison.openlibraries.android:dualcache-jsonserializer:3.1.1'
|
||||
implementation 'com.android.support:multidex:1.0.3'
|
||||
implementation 'androidx.work:work-runtime-ktx:2.7.1'
|
||||
|
||||
testImplementation 'junit:junit:4.13.1'
|
||||
testImplementation 'junit:junit:4.13.2'
|
||||
androidTestImplementation 'androidx.test:runner:1.4.0'
|
||||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
|
||||
}
|
@ -283,7 +283,7 @@ class YggdrasilTunService : VpnService() {
|
||||
intent.putExtra(IS_VPN_SERVICE_STOPPED, isClosed);
|
||||
var stackBuilder = TaskStackBuilder.create(this)
|
||||
stackBuilder.addNextIntentWithParentStack(intent)
|
||||
var pi = stackBuilder.getPendingIntent(0, PendingIntent.FLAG_UPDATE_CURRENT)
|
||||
var pi = stackBuilder.getPendingIntent(0, PendingIntent.FLAG_IMMUTABLE or PendingIntent.FLAG_UPDATE_CURRENT)
|
||||
val b = NotificationCompat.Builder(this, channelId)
|
||||
b.setOngoing(true)
|
||||
.setContentIntent(pi)
|
||||
|
Loading…
Reference in New Issue
Block a user