This commit is contained in:
arrase 2016-11-27 23:00:25 +01:00
parent 1060c69623
commit 799d18cbdc
1 changed files with 1 additions and 1 deletions

View File

@ -588,7 +588,7 @@ public class OrbotMainActivity extends AppCompatActivity
null null
); );
if (row == null) { if (row == null || row.getCount() < 1) {
cr.insert(HSContentProvider.CONTENT_URI, fields); cr.insert(HSContentProvider.CONTENT_URI, fields);
} else { } else {
onionHostname = row.getString(row.getColumnIndex(HSContentProvider.HiddenService.DOMAIN)); onionHostname = row.getString(row.getColumnIndex(HSContentProvider.HiddenService.DOMAIN));