summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Ruoyao Liu <ruoyao.liu@mediatek.com> 2017-11-10 00:53:15 +0800
committer Lin Lili <lili.lin@mediatek.com> 2021-07-30 09:14:44 +0000
commit0dbe6f7ad53ed706acfcd3a9c23213ec53c1ae2e (patch)
treef2d612c4698e282f37467db5833648871e43c948 /libs/androidfw/ResourceTimer.cpp
parent03a24f50cc14cf41a95c2b8339fb8a618824f508 (diff)
fix google widget timing issue
If the user of QuckContactBadge widget do not assign extras, widget will create one, wrappter URI data in it and use this extra for all requests,if multiple click events happened in short time it may cause a bug as the first query finished and URI data will be removed from extras, but the next query already sent, so when the second query complete, there is no URI in extra and result in null pointer exception. Don't remove the URI from extra directly,but copy the extra to another one and send it out after remove the URI, so the URI null pointer exception wouldn't happened anymore. Change-Id: I4ef56d29883f79f115e4b9523ced0abfd0978fd7 Bug: 195089668
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions