disable NAT mode again

This commit is contained in:
Max Lv
2014-11-17 20:56:17 +08:00
parent 8f41ea291f
commit efb614030f
4 changed files with 24 additions and 22 deletions
@@ -80,6 +80,14 @@ object Utils {
var data_path: String = null
var rootTries = 0
def isLollipopOrAbove: Boolean = {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
true
} else {
false
}
}
def getSignature(context: Context): String = {
val info = context
.getPackageManager