commit | 208b157b8d2112c1994a49c2715b86eae540b4fe | [log] [tgz] |
---|---|---|
author | Alison Cichowlas <asc@google.com> | Tue Sep 22 14:47:14 2020 -0400 |
committer | Alison Cichowlas <asc@google.com> | Thu Sep 24 13:18:25 2020 +0000 |
tree | 1420e25bd2086f81183d3bc37c9f34c14776b274 | |
parent | fd55a98702c491b5fa3730f14873228a61644e9a [diff] |
Fix handling of bad image previews. When the image preview fails (eg for permissions or timeout) the entire system area is removed. This prevents the user from using Nearby. Instead, when the image preview fails, we should hide only the image preview and leave the rest of the system area intact. Bug: 168557188 Test: ChooserActivityTest; manual inspection Change-Id: I49190c1fbc4e25b3d2e2802a90de355bff297f7e (cherry picked from commit ba027fad9144df945ed986373e17d52696816c95)