summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.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-09-29 15:20:10 +0000
commit29bb3a3428fcd272f8ec236f14354b9ec6c28f3e (patch)
treea7d10805b61f7717b2b773c7d69be7a1f38ff62d /libs/androidfw/StringPool.cpp
parent9891ad2db46a7183a776fb66967208019b3b9f25 (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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions