diff options
author | yueg <yueg@google.com> | 2018-03-21 12:14:04 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-03-21 13:01:22 -0700 |
commit | 7642b8011e00bf353504440754ffa3f3a7cd8f8c (patch) | |
tree | 8c1601b2c250506df8aaf94dad89b5df2fb277d0 /assets | |
parent | ab661fe03bd570bf713e8f040784fba3a504ec9d (diff) |
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
Diffstat (limited to 'assets')
-rw-r--r-- | assets/quantum/res/drawable/quantum_ic_error_outline_vd_theme_36.xml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/assets/quantum/res/drawable/quantum_ic_error_outline_vd_theme_36.xml b/assets/quantum/res/drawable/quantum_ic_error_outline_vd_theme_36.xml new file mode 100644 index 000000000..df4dc3299 --- /dev/null +++ b/assets/quantum/res/drawable/quantum_ic_error_outline_vd_theme_36.xml @@ -0,0 +1,33 @@ +<!-- + ~ Copyright (C) 2018 The Android Open Source Project + ~ + ~ Licensed under the Apache License, Version 2.0 (the "License"); + ~ you may not use this file except in compliance with the License. + ~ You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, software + ~ distributed under the License is distributed on an "AS IS" BASIS, + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + ~ See the License for the specific language governing permissions and + ~ limitations under the License + --> +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="36dp" + android:height="36dp" + android:viewportWidth="36.0" + android:viewportHeight="36.0" + android:tint="?attr/colorControlNormal"> + <group + android:pivotX="12" + android:pivotY="12" + android:scaleX="1.5" + android:scaleY="1.5" + android:translateX="6" + android:translateY="6"> + <path + android:fillColor="@android:color/white" + android:pathData="M11,15h2v2h-2zM11,7h2v6h-2zM11.99,2C6.47,2 2,6.48 2,12s4.47,10 9.99,10C17.52,22 22,17.52 22,12S17.52,2 11.99,2zM12,20c-4.42,0 -8,-3.58 -8,-8s3.58,-8 8,-8 8,3.58 8,8 -3.58,8 -8,8z"/> + </group> +</vector>
\ No newline at end of file |