0
0
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:
Arne Schwabe 2021-10-04 04:51:46 +02:00
parent 04054693df
commit 674762a1d4

View File

@ -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)) {