Commit a610eef0 authored by Mygod's avatar Mygod

Remove unused stuff

parent 5d55cc55
...@@ -35,7 +35,6 @@ import android.util.SparseArray ...@@ -35,7 +35,6 @@ import android.util.SparseArray
import android.view.MenuItem import android.view.MenuItem
import android.widget.Toast import android.widget.Toast
import com.crashlytics.android.Crashlytics import com.crashlytics.android.Crashlytics
import com.github.shadowsocks.App.Companion.app
import com.github.shadowsocks.database.Profile import com.github.shadowsocks.database.Profile
import com.github.shadowsocks.database.ProfileManager import com.github.shadowsocks.database.ProfileManager
import com.github.shadowsocks.utils.openBitmap import com.github.shadowsocks.utils.openBitmap
......
...@@ -23,7 +23,6 @@ package com.github.shadowsocks.bg ...@@ -23,7 +23,6 @@ package com.github.shadowsocks.bg
import android.net.LocalServerSocket import android.net.LocalServerSocket
import android.net.LocalSocket import android.net.LocalSocket
import android.net.LocalSocketAddress import android.net.LocalSocketAddress
import com.github.shadowsocks.App.Companion.app
import com.github.shadowsocks.utils.printLog import com.github.shadowsocks.utils.printLog
import java.io.File import java.io.File
import java.io.IOException import java.io.IOException
......
...@@ -34,8 +34,6 @@ import java.sql.SQLException ...@@ -34,8 +34,6 @@ import java.sql.SQLException
* to ensure we are in a consistent state. * to ensure we are in a consistent state.
*/ */
object ProfileManager { object ProfileManager {
private const val TAG = "ProfileManager"
@Throws(SQLException::class) @Throws(SQLException::class)
fun createProfile(p: Profile? = null): Profile { fun createProfile(p: Profile? = null): Profile {
val profile = p ?: Profile() val profile = p ?: Profile()
......
...@@ -16,7 +16,6 @@ import android.support.v4.content.ContextCompat ...@@ -16,7 +16,6 @@ import android.support.v4.content.ContextCompat
import android.support.v7.util.SortedList import android.support.v7.util.SortedList
import android.util.TypedValue import android.util.TypedValue
import com.crashlytics.android.Crashlytics import com.crashlytics.android.Crashlytics
import com.github.shadowsocks.App.Companion.app
import com.github.shadowsocks.JniHelper import com.github.shadowsocks.JniHelper
import java.net.InetAddress import java.net.InetAddress
import java.net.URLConnection import java.net.URLConnection
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment