add socket protect

This commit is contained in:
Розов Никита Валерьевич 2021-10-18 16:51:45 +03:00
parent 0f89c40a1d
commit ebfd50f30d
3 changed files with 66 additions and 9 deletions

View file

@ -43,7 +43,7 @@ class VPNServiceBinder(service: VPNService) : Binder() {
* returns true if the [code] was accepted
*/
override fun onTransact(code: Int, data: Parcel, reply: Parcel?, flags: Int): Boolean {
Log.i(tag, "GOT TRANSACTION $code")
Log.i(tag, "GOT TRANSACTION " + code)
when (code) {
ACTIONS.activate -> {