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

Commit bd55455a authored by Shuo Qian's avatar Shuo Qian Committed by Android (Google) Code Review
Browse files

Merge "Modify ImsCallProfileTest to test longitude/latitude only"

parents 6208d3be d42e8880
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -130,8 +130,10 @@ public class ImsCallProfileTest {
        Location locationFromData = data.getCallExtraParcelable(ImsCallProfile.EXTRA_LOCATION);
        Location locationFromUnparceledData = unparceledData.getCallExtraParcelable(
                ImsCallProfile.EXTRA_LOCATION);
        assertEquals("unparceled data for EXTRA_LOCATION is not valid!",
                locationFromData, locationFromUnparceledData);
        assertEquals("unparceled data for EXTRA_LOCATION latitude is not valid!",
                locationFromData.getLatitude(), locationFromUnparceledData.getLatitude());
        assertEquals("unparceled data for EXTRA_LOCATION Longitude is not valid!",
                locationFromData.getLongitude(), locationFromUnparceledData.getLongitude());

        assertEquals("unparceled data for EXTRA_PICTURE_URL is not valid!",
                data.getCallExtra(ImsCallProfile.EXTRA_PICTURE_URL),