do not allow updates after creation via intent

This commit is contained in:
arrase 2016-11-17 22:55:18 +01:00
parent 356d7235b4
commit 9bb3e2a7b3
1 changed files with 0 additions and 1 deletions

View File

@ -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();
}