mirror of
https://github.com/moparisthebest/SSLDroid
synced 2025-01-05 10:28:00 -05:00
Fixed a problem that caused the application to save to tunnel
preference when pressing the back button and hence has also restarted the service Signed-off-by: Balint Kovacs <blint@blint.hu>
This commit is contained in:
parent
422b11fdef
commit
780d221b2f
@ -74,11 +74,11 @@ public class SSLDroid extends Service {
|
||||
for (TcpProxy proxy : tp) {
|
||||
proxy.stop();
|
||||
}
|
||||
removeNotification(0);
|
||||
Log.d(TAG, "SSLDroid Service Stopped");
|
||||
} catch (Exception e) {
|
||||
Log.d("SSLDroid", "Error stopping service: " + e.toString());
|
||||
}
|
||||
removeNotification(0);
|
||||
Log.d(TAG, "SSLDroid Service Stopped");
|
||||
}
|
||||
|
||||
public void removeNotification(int id){
|
||||
|
@ -104,7 +104,7 @@ public class SSLDroidTunnelDetails extends Activity {
|
||||
@Override
|
||||
protected void onPause() {
|
||||
super.onPause();
|
||||
saveState();
|
||||
//saveState();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user