diff options
author | Soonil Nagarkar <sooniln@google.com> | 2021-09-22 16:31:32 -0700 |
---|---|---|
committer | Soonil Nagarkar <sooniln@google.com> | 2021-09-22 23:35:16 +0000 |
commit | 0ec832bba2ec5c5e45ff03184ecb95890447acb2 (patch) | |
tree | 9c8bc680b43a2aad3b920edc7abc842bc126c179 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | ea07bec30f0e62be4b5836f70e175e142b1715b9 (diff) |
Only allow completion callback to be run once for PIs
PendingIntent.send() should either throw an exception OR run it's
completion callback, but not both. However, a bug that is not fixable in
the near term means that it's possible for both to happen. In order to
avoid the completion callback from being run even if send() fails, we
gate it.
Bug: 199464864
Test: manual + presubmits
Change-Id: I993436b2bd2ec5240be92e6d3815b3a9edef970f
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions