diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index d06a1df..91c9777 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -8,6 +8,7 @@ + 0 && grantResults[0] == PackageManager.PERMISSION_GRANTED) { startActivity(new Intent(getApplicationContext(), MonitorActivity.class)); + } else if (requestCode == PERMISSIONS_REQUEST_MULTICAST) { + // its okay if the permission was denied... the user will have to type the address manually + startActivity(new Intent(getApplicationContext(), DiscoverActivity.class)); } } }