Dbrant has uploaded a new change for review.
https://gerrit.wikimedia.org/r/177255
Change subject: Fix behavior of long-press in Nearby.
......................................................................
Fix behavior of long-press in Nearby.
Before this patch, long-pressing an item in Nearby took the user to the
Google Maps app, *and* simultaneously navigated to the page that was
pressed (which could potentially cause a crash, as well).
This makes it so that long-pressing an item *only* takes the user to the
Maps app, and doesn't navigate to the selected page.
Change-Id: I96373bd3b4de4219af244f81bc522b94e77070a7
---
M wikipedia/src/main/java/org/wikipedia/nearby/NearbyFragment.java
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/apps/android/wikipedia
refs/changes/55/177255/1
diff --git a/wikipedia/src/main/java/org/wikipedia/nearby/NearbyFragment.java
b/wikipedia/src/main/java/org/wikipedia/nearby/NearbyFragment.java
index ba81a9c..0e89483 100644
--- a/wikipedia/src/main/java/org/wikipedia/nearby/NearbyFragment.java
+++ b/wikipedia/src/main/java/org/wikipedia/nearby/NearbyFragment.java
@@ -178,7 +178,7 @@
// I think this case is rare enough for us to just ignore
// This would mean long pressing won't do anything, which
is fine, I think
}
- return false;
+ return true;
}
});
--
To view, visit https://gerrit.wikimedia.org/r/177255
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I96373bd3b4de4219af244f81bc522b94e77070a7
Gerrit-PatchSet: 1
Gerrit-Project: apps/android/wikipedia
Gerrit-Branch: master
Gerrit-Owner: Dbrant <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits