Build fixes and some refactoring

This commit is contained in:
Mazay B 2023-06-30 00:21:56 +01:00
parent e0c2f873f5
commit 4a4c9cd63f
9 changed files with 22 additions and 94 deletions

View file

@ -168,11 +168,8 @@ class VPNService : BaseVpnService(), LocalDnsService.Interface {
}
override fun onCreate() {
super.onCreate()
// Log.v(tag, "Aman: onCreate....................")
// Log.v(tag, "Aman: onCreate....................")
// Log.v(tag, "Aman: onCreate....................")
// NotificationUtil.show(this) // Go foreground
super.onCreate()
NotificationUtil.show(this) // Go foreground
}
override fun onUnbind(intent: Intent?): Boolean {

View file

@ -196,6 +196,7 @@ class VPNServiceBinder(service: VPNService) : Binder() {
/**
* The codes we Are Using in case of [dispatchEvent]
* Qt codes in the androidvpnactivity.h
*/
object EVENTS {
const val init = 0