summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorlei.peng <lei.peng@spreadtrum.com>2016-10-08 17:58:37 +0800
committerYuntao.Xiao <yuntao.xiao@spreadtrum.com>2016-10-09 10:35:20 +0800
commit75685f743756e97728366e9bb2c5a70d51cb2f9d (patch)
treea7b2cbad5c3c8a967727a9cf9b9f6327835b015a /tools/aapt2/diff/Diff.cpp
parent66f15cc01befadf7ce19629680798b31046978c3 (diff)
Modify the case in adjustFocus when the mFocusedActivity is null
Starting activity failed and the mFocusedActvity become null, consider this condition when adjust focus. Because in this condition, the focus mismatch between ActivityManagerService#mFocusedActivity and InputDispatcher(inputfilnger)#mFocusedApplication, ANR may occur. Test: monkey test 48h with no ANR Change-Id: Id1a2bf0d6ca6530e34443d359fbe2aa6c11b878c
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions