summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorWale Ogunwale <ogunwale@google.com>2017-04-07 08:53:41 -0700
committerWinson Chung <winsonc@google.com>2017-04-07 13:52:29 -0700
commitcd501ecd91bd7016639e8e62d4a739a01971f95c (patch)
treebb3a2b5764af20fe296c81d995b8780b16741c1a /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent11d1a392f2f3c1e8bce78336e6bae37a218715dd (diff)
Show recents at correct time when starting activity in docked stack
Previous logic relied on the returnTo type of the task of the activity we are launching which can get the wrong signal at times because the original task might have been started from home, but since we are already in docked mode it shouldn't cause recents activity to be launched. We now decide if recents ability should be shown based on if the home stack is currently visible at the time we started the new activity. Also, renamed ActivityStack.getStackVisibilityLocked() to ActivityStack.shouldBeVisible() since it is used to determine if the stack should be visible and also so it isn't confused with the new method ActivityStack.isVisible() which returns true if the stack is currently visible. Test: manual Change-Id: I051e72ce93c886d25526af2afef851c95812ab3e Fixes: 37005549
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions