diff options
author | Miranda Kephart <mkephart@google.com> | 2020-06-12 13:04:18 -0400 |
---|---|---|
committer | Miranda Kephart <mkephart@google.com> | 2020-06-12 13:04:18 -0400 |
commit | 33aff26285027251ef5f95d9b40e17d1eb52eeef (patch) | |
tree | a3704a62ad3017c013dd9865dbaf0c9e6cf4d301 /rs/java/android/renderscript/Program.java | |
parent | b278a5c4e4396d5e7bb6cabfb1fe4d555aa63c32 (diff) |
Check for null service in ScreenshotHelper
We were testing whether mScreenshotConnection was null as a proxy
for whether we had a running screenshot service. In principle
mScreenshotService should never be null if mScreenshotConnection
is not null, but it's safer to check. This may fix the crash noticed in
early May (attached bug), and either way is better for the stability
of the process.
Bug: 156366251
Fix: 156366251
Test: manual
Change-Id: Iea669a5a2ca2334760141ec6fec8ec7ffb01f25c
Diffstat (limited to 'rs/java/android/renderscript/Program.java')
0 files changed, 0 insertions, 0 deletions