mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
Fix lint issues
This commit is contained in:
parent
7dcf2376a6
commit
96ea3f693d
1 changed files with 1 additions and 1 deletions
|
|
@ -628,7 +628,7 @@ public class ShareActivity
|
|||
|
||||
@OnClick(R.id.media_map)
|
||||
public void onFabShowMapsClicked() {
|
||||
if (imageObj != null && imageObj.imageCoordsExists == true) {
|
||||
if (imageObj != null && imageObj.imageCoordsExists) {
|
||||
Uri gmmIntentUri = Uri.parse("google.streetview:cbll=" + imageObj.getDecLatitude() + "," + imageObj.getDecLongitude());
|
||||
Intent mapIntent = new Intent(Intent.ACTION_VIEW, gmmIntentUri);
|
||||
mapIntent.setPackage("com.google.android.apps.maps");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue