do not allow updates after creation via intent
This commit is contained in:
		
							parent
							
								
									356d7235b4
								
							
						
					
					
						commit
						9bb3e2a7b3
					
				|  | @ -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(); | ||||
| 		} | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue