This commit is contained in:
Max Lv
2014-12-09 21:04:54 +08:00
parent e708e117be
commit 3db8e9d775
2 changed files with 1 additions and 4 deletions
@@ -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}