Skip to content

wrong name of params for original dimensions #13

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. call getPeopleInterface().getPhotos with extra of url_o


What is the expected output? What do you see instead?
resulting photos have width and height values set. Resulting photos have width 
and height 0

What version of the product are you using? On what operating system?
2.00. Android

Please provide any additional information below.
Problem is in PhotoUtils class where

        photo.setOriginalWidth(photoElement.optString("o_width"));
        photo.setOriginalHeight(photoElement.optString("o_height"));

but param names are width_o and height_o

so solution would be to do following

        photo.setOriginalWidth(photoElement.optString("width_o"));
        photo.setOriginalHeight(photoElement.optString("height_o"));

Original issue reported on code.google.com by norbert....@gmail.com on 13 Aug 2013 at 12:28

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions