update theme
This commit is contained in:
@@ -200,7 +200,6 @@ public class Shadowsocks extends PreferenceActivity implements
|
||||
public void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
|
||||
setContentView(R.layout.main);
|
||||
addPreferencesFromResource(R.xml.shadowsocks_preference);
|
||||
|
||||
proxyText = (EditTextPreference) findPreference("proxy");
|
||||
|
||||
@@ -319,7 +319,7 @@ public class ShadowsocksService extends Service {
|
||||
}
|
||||
|
||||
private void notifyAlert(String title, String info) {
|
||||
notification.icon = R.drawable.ic_stat_gaeproxy;
|
||||
notification.icon = R.drawable.ic_stat_shadowsocks;
|
||||
notification.tickerText = title;
|
||||
notification.flags = Notification.FLAG_ONGOING_EVENT;
|
||||
initSoundVibrateLights(notification);
|
||||
@@ -330,7 +330,7 @@ public class ShadowsocksService extends Service {
|
||||
}
|
||||
|
||||
private void notifyAlert(String title, String info, int flags) {
|
||||
notification.icon = R.drawable.ic_stat_gaeproxy;
|
||||
notification.icon = R.drawable.ic_stat_shadowsocks;
|
||||
notification.tickerText = title;
|
||||
notification.flags = flags;
|
||||
initSoundVibrateLights(notification);
|
||||
|
||||
Reference in New Issue
Block a user