mirror of
https://github.com/schwabe/ics-openvpn.git
synced 2024-09-19 19:42:29 +02:00
Minor code cleanup
This commit is contained in:
parent
04054693df
commit
674762a1d4
@ -80,10 +80,11 @@ public class MainActivity extends BaseActivity {
|
||||
Intent intent = getIntent();
|
||||
if (intent != null) {
|
||||
String action = intent.getAction();
|
||||
if (action != null && Intent.ACTION_VIEW.equals(action))
|
||||
if (Intent.ACTION_VIEW.equals(action))
|
||||
{
|
||||
Uri uri = intent.getData();
|
||||
checkUriForProfileImport(uri);
|
||||
if (uri != null)
|
||||
checkUriForProfileImport(uri);
|
||||
}
|
||||
String page = intent.getStringExtra("PAGE");
|
||||
if ("graph".equals(page)) {
|
||||
|
Loading…
Reference in New Issue
Block a user