diff options
author | Garfield Tan <xutan@google.com> | 2021-03-11 16:43:55 -0800 |
---|---|---|
committer | Garfield Tan <xutan@google.com> | 2021-03-12 14:23:51 -0800 |
commit | 7859e8401cb9ba645515c3fccd43293681547628 (patch) | |
tree | c3db5fe48bafdff3ee8b23fd2883e3eff8b8fcbc /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | a47c17768c7021c3aa149c10163d2a93cb7d84f6 (diff) |
Use resolved windowing mode to match launch root
WM core offers WindowContainerTransaction#setLaunchRoot() API to
override launch root task for specific windowing modes and activity
types. However before this CL we only pass windowing mode in
ActivityOptions when selecting root task, which will make windowing mode
most of the time unspecified, which diminishes the use of the API.
This can help whoever needs to differentiate launch root for freeform
tasks and fullscreen tasks.
Bug: 182514695
Test: WCT#setLaunchRoot() takes effect with app launches with specific
windowing mode that is initiated by launcher.
Test: atest TaskDisplayAreaTests
Change-Id: I8113d3c9a82c8202f3881b5c08347fcb765861c6
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions