summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorBen Lin <linben@google.com>2016-07-14 10:40:00 -0700
committerBen Lin <linben@google.com>2016-07-15 18:17:57 +0000
commit2e7234ce1d0affd1835233fabcb5b351abe332f2 (patch)
tree5feab35650ad627afd675b7d51a2e57304445fe0 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent73867f93cfc51f8ac5486e483a784d09cf82d3be (diff)
Fix a crash happening on a context menu.
When an activity gets a callback for onContextItemSelected, it first gets dibs on handling it, and then it propagates the call to -every- fragment it is tied to. This poses a problem since RootsFragment and DirectoryFragment don't necessarily handle each other's menu items well, which can cause NPEs. This is some temporary fix for it. Bug: 30092676 Change-Id: I3f268c9c9580504b78581ad92a24c9a99c4a0daf (cherry picked from commit 3e1699f3a3f3d0378d758e3b0d430165867eb89e)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions