summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorAbhijeet Kaur <abkaur@google.com>2019-07-24 14:50:04 +0100
committerAbhijeet Kaur <abkaur@google.com>2019-07-25 14:04:56 +0100
commitac834969a37688050d34abb378637766304d2ec5 (patch)
tree5878fb7c779027309e3eab49b3e9e619cc1ca4d7 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parentd94c8e720ac3358fad9be0a5f5a671498bb9f430 (diff)
Set id for bugreports after dumpstate increments it.
dumpstate increments system property PROPERTY_LAST_ID when a bugreport is triggered. In the old workflow for bugreports, dumpstate used to get triggered before Shell, and dumpstate would send the 'id' to Shell. Hence Shell always assumed that it has a known value for 'id', that is why 'id' is declared as a final variable which could be assigned value in the constructor. In new workflow using API, the 'id' is incremented after dumpstate gets triggered. Hence making the following changes: * Changing 'id' variable to be not final * Reading 'id' after dumpstate has incremented the system property Bug: 123617758 Test: Build and flash to device. Turn on the feature flaggenerate bugreports Check the progress and Finish notifications. Change-Id: I44762190391c128cba135bf0ef795a1ae872dbb7
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions