Skip to content
Snippets Groups Projects
Commit 7186a898 authored by Sebastian Kürten's avatar Sebastian Kürten
Browse files

Add comment concerning SecurityException/AssertionError

parent 54fbc0e8
No related branches found
No related tags found
1 merge request!10Check if peer has connected
......@@ -107,6 +107,7 @@ class HotspotManager implements ActionListener {
wifiP2pManager.createGroup(channel, this);
}
} catch (SecurityException e) {
// this should never happen, because we request permissions before
throw new AssertionError(e);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment