1
0
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:
Balint Kovacs 2011-04-20 18:59:42 +02:00
parent 422b11fdef
commit 780d221b2f
2 changed files with 3 additions and 3 deletions

View File

@ -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){

View File

@ -104,7 +104,7 @@ public class SSLDroidTunnelDetails extends Activity {
@Override
protected void onPause() {
super.onPause();
saveState();
//saveState();
}
@Override