diff options
| author | Craig Mautner <cmautner@google.com> | 2014-10-01 09:38:40 -0700 | 
|---|---|---|
| committer | Craig Mautner <cmautner@google.com> | 2014-10-01 10:14:53 -0700 | 
| commit | 64ccb7086741d520c041273610519a5c2f65b440 (patch) | |
| tree | 6a232e46a57bcc751114df1bd613bc83c711a4fb /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
| parent | bc156ba430d286aaab8deb7bbb3bccc655cd2e92 (diff) | |
Don't clear visible-behind activity if it is top
Previously if an activity requested to keep running behind
translucent activities (Activity.requestVisibleBehind()) and then
converted itself to opaque (Activity.convertFromTranslucent()), we
would clear the visible-behind activity. This change tests to see
if the top activity is the visible-behind activity and does not
clear it in that case.
This change also clears the visible-behind activity whenever it
comes back to the front. That forces the activity to call
requestVisibleBehind() each time it is resumed.
Fixes bug 17648436.
Change-Id: Id0fc4d7e2a2b907675305d98bad1b08cb610919e
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions
