SuppressLint

This commit is contained in:
Max Lv
2016-09-09 16:47:47 +08:00
parent b76f410c34
commit 35cb273592
14 changed files with 18 additions and 3 deletions
@@ -42,6 +42,7 @@ package com.github.shadowsocks
import java.io.File
import java.util.Locale
import android.annotation.SuppressLint
import android.content._
import android.content.pm.PackageManager.NameNotFoundException
import android.net.VpnService
@@ -325,6 +326,7 @@ class ShadowsocksVpnService extends VpnService with BaseService {
pdnsdProcess = new GuardedProcess(cmd).start()
}
@SuppressLint(Array("NewApi"))
def startVpn(): Int = {
val builder = new Builder()