summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
author Peter Li <lpeter@google.com> 2022-05-13 21:15:45 +0800
committer lpeter <lpeter@google.com> 2022-11-01 09:19:51 +0000
commiteedc06b4636462dd60fb74f841979566b559698b (patch)
treea8e0dc40a85ba2ac80ab9f20ba1e747a1607010e /cmds/bootanimation/BootAnimation.cpp
parent6ec907618e6e63225fd954e4c4c5f1de335b5cbc (diff)
Inform Assistant visible activity when the stage of activity lifecycle is invoked.
By the original design, we register the activity event in the ActivityManagerService. After getting the activity event, we will query current visible activities and report them to Assistant. Assistant will start to get direct actions of those visible activities. But sometimes they can not get the direct actions due to the stage of activity lifecycle before onStart(). We change the logic to make sure that the stage of visible activity that we reported to the Assistant is after onStart(). Bug: 235296082 Test: atest VoiceInteractionSessionVisibleActivityTest Test: atest android.app.activity.ActivityThreadClientTest Test: atest android.view.DisplayTest Test: atest android.window.ConfigurationHelperTest Test: atest android.window.SizeConfigurationBucketsTest Change-Id: Ie439ff3706dab35e875c1eb995a67fa73aec4d76 (cherry picked from commit 29bb3a3428fcd272f8ec236f14354b9ec6c28f3e) Merged-In: Ie439ff3706dab35e875c1eb995a67fa73aec4d76
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions