Updated SBBRECV
This commit is contained in:
parent
b6e56cdf13
commit
4f082c6e45
@ -5,7 +5,6 @@ import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.util.Log;
|
||||
import android.widget.Button;
|
||||
import org.itxtech.daedalus.Daedalus;
|
||||
import org.itxtech.daedalus.R;
|
||||
import org.itxtech.daedalus.activity.MainActivity;
|
||||
import org.itxtech.daedalus.activity.SettingsActivity;
|
||||
@ -33,7 +32,6 @@ public class StatusBarBroadcastReceiver extends BroadcastReceiver {
|
||||
Intent serviceIntent = new Intent(context, DaedalusVpnService.class);
|
||||
context.startService(serviceIntent.setAction(DaedalusVpnService.ACTION_DEACTIVATE));
|
||||
context.stopService(serviceIntent);
|
||||
Daedalus.updateShortcut(context);
|
||||
if (MainActivity.getInstance() != null) {
|
||||
((Button) MainActivity.getInstance().findViewById(R.id.button_activate)).setText(R.string.button_text_activate);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user