refine #171
This commit is contained in:
@@ -69,7 +69,6 @@ import net.simonvt.menudrawer.MenuDrawer
|
||||
|
||||
import scala.collection.mutable.{ArrayBuffer, ListBuffer}
|
||||
import scala.concurrent.ops._
|
||||
import scala.ref.WeakReference
|
||||
|
||||
class ProfileIconDownloader(context: Context, connectTimeout: Int, readTimeout: Int)
|
||||
extends BaseImageDownloader(context, connectTimeout, readTimeout) {
|
||||
@@ -674,7 +673,7 @@ class Shadowsocks
|
||||
if (!profile.isDefined) return false
|
||||
|
||||
new AlertDialog.Builder(this)
|
||||
.setMessage(String.formatLocal(Locale.ENGLISH, getString(R.string.remove_profile), profile.get.name))
|
||||
.setMessage(String.format(Locale.ENGLISH, getString(R.string.remove_profile), profile.get.name))
|
||||
.setCancelable(false)
|
||||
.setNegativeButton(R.string.no, new DialogInterface.OnClickListener() {
|
||||
override def onClick(dialog: DialogInterface, i: Int) = dialog.cancel()
|
||||
|
||||
@@ -41,8 +41,6 @@ package com.github.shadowsocks
|
||||
|
||||
import java.io.File
|
||||
import java.lang.reflect.{InvocationTargetException, Method}
|
||||
import java.net.InetAddress
|
||||
import java.util
|
||||
import java.util.Locale
|
||||
|
||||
import android.app.{Notification, NotificationManager, PendingIntent, Service}
|
||||
|
||||
Reference in New Issue
Block a user