action moved
This commit is contained in:
parent
d048cd6fb2
commit
08fb68dcaa
|
@ -54,9 +54,6 @@ public class HiddenServicesActivity extends AppCompatActivity {
|
||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
setContentView(R.layout.layout_hs_list_view);
|
setContentView(R.layout.layout_hs_list_view);
|
||||||
|
|
||||||
if (usesRuntimePermissions())
|
|
||||||
checkPermissions();
|
|
||||||
|
|
||||||
mCR = getContentResolver();
|
mCR = getContentResolver();
|
||||||
|
|
||||||
FloatingActionButton fab = (FloatingActionButton) findViewById(R.id.fab);
|
FloatingActionButton fab = (FloatingActionButton) findViewById(R.id.fab);
|
||||||
|
@ -87,6 +84,9 @@ public class HiddenServicesActivity extends AppCompatActivity {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
|
public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
|
||||||
|
if (usesRuntimePermissions())
|
||||||
|
checkPermissions();
|
||||||
|
|
||||||
TextView port = (TextView) view.findViewById(R.id.hs_port);
|
TextView port = (TextView) view.findViewById(R.id.hs_port);
|
||||||
TextView onion = (TextView) view.findViewById(R.id.hs_onion);
|
TextView onion = (TextView) view.findViewById(R.id.hs_onion);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue