mirror of
https://github.com/yggdrasil-network/crispa-android.git
synced 2024-10-22 19:31:02 +00:00
Compare commits
No commits in common. "96b48aab11dc2a4f43a065f1eff4b435d7a127cf" and "82dc18c1e5fcb37bb57642e86046c6822c953e72" have entirely different histories.
96b48aab11
...
82dc18c1e5
@ -12,8 +12,8 @@ android {
|
|||||||
minSdkVersion 15
|
minSdkVersion 15
|
||||||
targetSdkVersion 32
|
targetSdkVersion 32
|
||||||
|
|
||||||
versionCode 39
|
versionCode 37
|
||||||
versionName "2.1.2"
|
versionName "2.1.0"
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
setProperty("archivesBaseName", project.getParent().name+"-"+versionName)
|
setProperty("archivesBaseName", project.getParent().name+"-"+versionName)
|
||||||
|
|
||||||
@ -90,9 +90,8 @@ dependencies {
|
|||||||
implementation 'com.vincentbrison.openlibraries.android:dualcache:3.1.1'
|
implementation 'com.vincentbrison.openlibraries.android:dualcache:3.1.1'
|
||||||
implementation 'com.vincentbrison.openlibraries.android:dualcache-jsonserializer:3.1.1'
|
implementation 'com.vincentbrison.openlibraries.android:dualcache-jsonserializer:3.1.1'
|
||||||
implementation 'com.android.support:multidex:1.0.3'
|
implementation 'com.android.support:multidex:1.0.3'
|
||||||
implementation 'androidx.work:work-runtime-ktx:2.7.1'
|
|
||||||
|
|
||||||
testImplementation 'junit:junit:4.13.2'
|
testImplementation 'junit:junit:4.13.1'
|
||||||
androidTestImplementation 'androidx.test:runner:1.4.0'
|
androidTestImplementation 'androidx.test:runner:1.4.0'
|
||||||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.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);
|
intent.putExtra(IS_VPN_SERVICE_STOPPED, isClosed);
|
||||||
var stackBuilder = TaskStackBuilder.create(this)
|
var stackBuilder = TaskStackBuilder.create(this)
|
||||||
stackBuilder.addNextIntentWithParentStack(intent)
|
stackBuilder.addNextIntentWithParentStack(intent)
|
||||||
var pi = stackBuilder.getPendingIntent(0, PendingIntent.FLAG_IMMUTABLE or PendingIntent.FLAG_UPDATE_CURRENT)
|
var pi = stackBuilder.getPendingIntent(0, PendingIntent.FLAG_UPDATE_CURRENT)
|
||||||
val b = NotificationCompat.Builder(this, channelId)
|
val b = NotificationCompat.Builder(this, channelId)
|
||||||
b.setOngoing(true)
|
b.setOngoing(true)
|
||||||
.setContentIntent(pi)
|
.setContentIntent(pi)
|
||||||
|
Loading…
Reference in New Issue
Block a user