summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorCraig Mautner <cmautner@google.com>2014-04-25 10:09:00 -0700
committerCraig Mautner <cmautner@google.com>2014-04-25 11:20:01 -0700
commit247ab65a4985470feff9cb5b5d40d2b8c64f5ada (patch)
tree3935d27508ad4b80347fb8af33af0d9fad87e5e8 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent3a656ea32e6d6489f4bc45884e5acede9fe2de51 (diff)
Throw exception from startActivity if not allowed.
The ActivityView.startActivity method may defer calling ActivityContainer.startActivity if the ActivityView is not yet visible. If the activity being started doesn't have allowEmbedded attribute set to true then the SecurityException will not be thrown until the ActivityView is visible. In such a case the caller of ActivityView.startActivity cannot catch the SecurityException. This fix checks the attribute at the time ActivityView.startActivity is called. Fixes bug 14317210. Change-Id: I7fff23e39b67a9a0aa1b2e555920d02ae38906d9
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions