diff options
author | Craig Mautner <cmautner@google.com> | 2014-04-25 10:09:00 -0700 |
---|---|---|
committer | Craig Mautner <cmautner@google.com> | 2014-04-25 11:20:01 -0700 |
commit | 247ab65a4985470feff9cb5b5d40d2b8c64f5ada (patch) | |
tree | 3935d27508ad4b80347fb8af33af0d9fad87e5e8 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 3a656ea32e6d6489f4bc45884e5acede9fe2de51 (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