Commit f0ef6c8e authored by Max Lv's avatar Max Lv

fix #166

parent 10de6ea6
...@@ -27,8 +27,8 @@ libraryDependencies ++= Seq( ...@@ -27,8 +27,8 @@ libraryDependencies ++= Seq(
libraryDependencies ++= Seq( libraryDependencies ++= Seq(
"net.simonvt.menudrawer" % "menudrawer" % "3.0.6", "net.simonvt.menudrawer" % "menudrawer" % "3.0.6",
"com.google.android.gms" % "play-services" % "5.0.89", "com.google.android.gms" % "play-services" % "6.1.71",
"com.android.support" % "support-v4" % "19.1.0" "com.android.support" % "support-v4" % "21.0.3"
) )
libraryDependencies ++= Seq( libraryDependencies ++= Seq(
......
...@@ -332,6 +332,7 @@ class ShadowsocksNatService extends Service with BaseService { ...@@ -332,6 +332,7 @@ class ShadowsocksNatService extends Service with BaseService {
.setSmallIcon(R.drawable.ic_stat_shadowsocks) .setSmallIcon(R.drawable.ic_stat_shadowsocks)
.addAction(android.R.drawable.ic_menu_close_clear_cancel, getString(R.string.stop), .addAction(android.R.drawable.ic_menu_close_clear_cancel, getString(R.string.stop),
actionIntent) actionIntent)
.setPriority(NotificationCompat.PRIORITY_MIN)
startForegroundCompat(1, builder.build) startForegroundCompat(1, builder.build)
} }
......
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