summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorFelipe Leme <felipeal@google.com>2016-04-20 10:20:00 -0700
committerFelipe Leme <felipeal@google.com>2016-04-20 10:25:12 -0700
commit51a4ede593b1bba96d7cc14fca54e8e5f02850e0 (patch)
tree7b150fe56053b69fa1556005fe2fba34cd982c48 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent0e81694a02f3405aeec3205372e8fe6e3ed7c0c3 (diff)
Only try to add details to zip once.
When the user enters details (title or description) to the bugreport, Shell tries to add a title.txt (and/or description.txt) to the zip and uses 2 instance variables (addedDetailsToZip and addingDetailsToZip) to control its state. The problem with the current approach is that if there is a failure adding the entries (for example, if the entries already exist), these variables are not updated and hence when the user taps Share, it will try to add the entries again, which most likely would fail. BUG: 28291423 Change-Id: I56a71256be4f8de15f8126b815334277319e8e8a
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions