[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [orbot/master] do not allow updates after creation via intent



commit 9bb3e2a7b3c4c9d63abb397dcb07eff748e745de
Author: arrase <arrase@xxxxxxxxx>
Date:   Thu Nov 17 22:55:18 2016 +0100

    do not allow updates after creation via intent
---
 app/src/main/java/org/torproject/android/OrbotMainActivity.java | 1 -
 1 file changed, 1 deletion(-)

diff --git a/app/src/main/java/org/torproject/android/OrbotMainActivity.java b/app/src/main/java/org/torproject/android/OrbotMainActivity.java
index 3a98022..d6012d5 100644
--- a/app/src/main/java/org/torproject/android/OrbotMainActivity.java
+++ b/app/src/main/java/org/torproject/android/OrbotMainActivity.java
@@ -620,7 +620,6 @@ public class OrbotMainActivity extends AppCompatActivity
 			cr.insert(HSContentProvider.CONTENT_URI, fields);
 		} else {
 			onionHostname = row.getString(row.getColumnIndex(HSContentProvider.HiddenService.DOMAIN));
-			cr.update(HSContentProvider.CONTENT_URI, fields, "port=" + mHsPort, null);
 			row.close();
 		}
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits