diff options
author | Garfield Tan <xutan@google.com> | 2020-03-13 15:56:51 -0700 |
---|---|---|
committer | Garfield Tan <xutan@google.com> | 2020-03-24 10:29:51 -0700 |
commit | a7c9f7cb4cc7dc4d4d93d543169523bcd9adcfb5 (patch) | |
tree | 98a8a3061c0a1ea2ec1901a5d9cf074e019af7be /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | f1d96d48f6a50d16ef1b70344a5f92d809bce740 (diff) |
Send notification when reusing a stack as a task.
We used to always create a task even though we knew there was only one
task ever created under a stack. Thus the onTaskCreated() notification
is always sent with correct component name. However after we merged
stack & task in some cases, stack can be reused as a task and listeners
(e.g. SysUI) lost a useful notification as when stack is created
componentName is still null. Therefore send out the notification when
reuse is decided. Listeners can determine if it's a root task or leaf
task from the nullness of component name.
Bug: 150252489
Test: Smoke tests & TH.
Change-Id: I0896307fd6bbfa53d95843043235e506e1a97a43
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions