Skip to content

Commit

Permalink
Merge branch 'issues/2595' of github.com:ooni/probe-android into issu…
Browse files Browse the repository at this point in the history
…es/2595-database-actions
  • Loading branch information
aanorbel committed Dec 22, 2023
2 parents d5073f5 + ae929c8 commit 5aa9e49
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,8 @@ public void onCloseButtonClicked() {
* Extracts the run id from the provided Uri.
* The run id can be in two different formats:
* <p>
* 1. ooni://runv2/#link_id
* 2. https://run.test.ooni.org/v2/#link_id
* 1. ooni://runv2/link_id
* 2. https://run.test.ooni.org/v2/link_id
* <p>
* The run id is the `link_id` in the link.
* If the Uri contains a link, but the `link_id` is not a number, an empty Optional is returned.
Expand All @@ -331,7 +331,7 @@ private Optional<Long> getRunId(Uri uri) {
/**
* The run id is the first segment of the path.
* Launched when `Open Link in OONI Probe` is clicked.
* e.g. ooni://runv2/#link_id
* e.g. ooni://runv2/link_id
*/
return Optional.of(
Long.parseLong(
Expand All @@ -343,7 +343,7 @@ private Optional<Long> getRunId(Uri uri) {
* The run id is the second segment of the path.
* Launched when the system recognizes this app can open this link
* and launches the app when a link is clicked.
* e.g. https://run.test.ooni.org/v2/#link_id
* e.g. https://run.test.ooni.org/v2/link_id
*/
return Optional.of(
Long.parseLong(
Expand Down

0 comments on commit 5aa9e49

Please sign in to comment.