mirror of
https://github.com/DrKLO/Telegram.git
synced 2025-01-18 15:20:33 +01:00
incorrect_my_location
This commit is contained in:
parent
2e8e1d8c40
commit
746defabbe
2 changed files with 16 additions and 0 deletions
|
@ -629,6 +629,7 @@ public class ChatAttachAlertLocationLayout extends ChatAttachAlert.AttachAlertLa
|
||||||
locationButton.setTag(Theme.key_location_actionActiveIcon);
|
locationButton.setTag(Theme.key_location_actionActiveIcon);
|
||||||
adapter.setCustomLocation(null);
|
adapter.setCustomLocation(null);
|
||||||
userLocationMoved = false;
|
userLocationMoved = false;
|
||||||
|
positionMarker(myLocation);
|
||||||
showSearchPlacesButton(false);
|
showSearchPlacesButton(false);
|
||||||
googleMap.animateCamera(CameraUpdateFactory.newLatLng(new LatLng(myLocation.getLatitude(), myLocation.getLongitude())));
|
googleMap.animateCamera(CameraUpdateFactory.newLatLng(new LatLng(myLocation.getLatitude(), myLocation.getLongitude())));
|
||||||
if (searchedForCustomLocations) {
|
if (searchedForCustomLocations) {
|
||||||
|
|
|
@ -10,3 +10,18 @@ actual res.
|
||||||
- And each of the open dialogs needs to be removed in turn
|
- And each of the open dialogs needs to be removed in turn
|
||||||
expected res.
|
expected res.
|
||||||
- When executing a request, a single ProgressDialog opens
|
- When executing a request, a single ProgressDialog opens
|
||||||
|
|
||||||
|
========== commit: incorrect_my_location ============
|
||||||
|
precondition
|
||||||
|
- The app is running
|
||||||
|
- The user is in a chat with the other person
|
||||||
|
test case
|
||||||
|
- Click on the "Attach to message" button ."
|
||||||
|
- Choose to share your geolocation
|
||||||
|
- On the geolocation selection screen, select a geolocation 4-5 kilometers away from the user's current location
|
||||||
|
- Then click on the "My geolocation" button ."
|
||||||
|
actual res.
|
||||||
|
- After clicking on the "My geolocation" button, the camera and marker on the map are animated, and the text "Send my current location" is shown to us"
|
||||||
|
- If you click on the "Send my current location" button during the animation, the geolocation of the position where the marker is currently located will be taken
|
||||||
|
expected res.
|
||||||
|
- If the button shows the text "Send my current location", you need to substitute the user's last known geolocation
|
||||||
|
|
Loading…
Reference in a new issue