summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorNick Pelly <npelly@google.com>2012-03-21 15:14:09 -0700
committerNick Pelly <npelly@google.com>2012-03-29 09:52:32 -0700
commit8ce7a27770735791b5c38e4128f4ab9cee86bc43 (patch)
tree849a29fc2fe6ef3666a2e0a6c13f538a90f10447 /graphics/java/android/renderscript/ProgramVertexFixedFunction.java
parent3e6792232aa0ce3e650eaa03529c9eb2fe023ca9 (diff)
Use Application#registerLifecycleEvents() instead of a Fragment for Beam.
Fragments don't work as desired if called after life-cycle events such as onDestory() or onSaveInstanceState(). The new approach doesn't work after onDestroy() either, but we can more easily detect this now. For pre-JB apps, we will log an error, and for JB and onwards we will throw. Update documentation to make these rules clear, and to encourage the use of a single Activity per API call, and to make the call in onCreate(). Bug: 5199662 Bug: 5994691 Bug: 6034901 Bug: 6125297 Change-Id: Ib0dde6abfa44cd56c7ddc13ba0ad0e83bbe30058
Diffstat (limited to 'graphics/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions