From 7642b8011e00bf353504440754ffa3f3a7cd8f8c Mon Sep 17 00:00:00 2001 From: yueg Date: Wed, 21 Mar 2018 12:14:04 -0700 Subject: Show error when finding location time out. If we get no location data for emergency call, we used to show spinner forever. This change shows error after 5s with no data, but still tries to get location. Test: LocationFragmentTest PiperOrigin-RevId: 189946803 Change-Id: Iaa0b429eec806337b9ab9cae3ca95e737fc667bf --- .../impl/res/layout/location_fragment.xml | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'java/com/android/incallui/calllocation/impl/res/layout/location_fragment.xml') diff --git a/java/com/android/incallui/calllocation/impl/res/layout/location_fragment.xml b/java/com/android/incallui/calllocation/impl/res/layout/location_fragment.xml index b1601f9fd..d20e32b3f 100644 --- a/java/com/android/incallui/calllocation/impl/res/layout/location_fragment.xml +++ b/java/com/android/incallui/calllocation/impl/res/layout/location_fragment.xml @@ -130,4 +130,34 @@ + + + + + + + + -- cgit v1.2.3