Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b260c0fb authored by Jorge Ruesga's avatar Jorge Ruesga
Browse files

Gallery2: Fix show on map typo



Change-Id: Ie67b945f20c93972e090ebda0391f6e40a0c7b8d
Signed-off-by: default avatarJorge Ruesga <jorge@ruesga.com>
parent 5ed2855a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -286,7 +286,7 @@ public class GalleryUtils {
        // The q=(lat, lng) syntax is suggested by geo-team.
        ComponentName gmmCompName = new ComponentName(MAPS_PACKAGE_NAME, MAPS_CLASS_NAME);
        String gmmUri = formatLatitudeLongitude("http://maps.google.com/maps?f=q&q=(%f,%f)",
                0.0d, 0.0d);
                latitude, longitude);
        Intent gmmIntent = new Intent();
        gmmIntent.setComponent(gmmCompName);
        gmmIntent.setData(Uri.parse(gmmUri));
@@ -298,7 +298,7 @@ public class GalleryUtils {

        // 2.- Geolocation content provider
        Log.w(TAG, "GMM activity not found! Trying with geo scheme");
        String geoUri = formatLatitudeLongitude("geo:%f,%f", 0.0d, 0.0d);
        String geoUri = formatLatitudeLongitude("geo:%f,%f", latitude, longitude);
        Intent geoIntent = new Intent();
        geoIntent.setData(Uri.parse(geoUri));
        geoIntent.setAction(Intent.ACTION_VIEW);