summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/EglManager.cpp
diff options
context:
space:
mode:
authorAbhijeet Kaur <abkaur@google.com>2019-07-29 09:50:55 +0100
committerAbhijeet Kaur <abkaur@google.com>2019-08-05 15:24:16 +0100
commit1b1d614e63950a2acff33f19615889f81b967542 (patch)
treee054fd2a58e4f11075e4123c86bc13302b2a3a91 /libs/hwui/renderthread/EglManager.cpp
parent7bdc19bacb177ba5fbfd6bb5db6fe4543fe2f220 (diff)
Add logic to handle screenshot file creation failure
Delete the bugreport file to free the space before returning. Delete unnecessary if blocks as the File constructor would never return null Bug:123617758 Test: Force code to execute the if (screenshotFd == null) block. Bugreport file gets deleted successfully Change-Id: Ib88278a8a56799ef562b8b06e5e530a8e31e85d5
Diffstat (limited to 'libs/hwui/renderthread/EglManager.cpp')
0 files changed, 0 insertions, 0 deletions