diff options
author | Adam Lesinski <adamlesinski@google.com> | 2017-04-05 11:04:17 -0700 |
---|---|---|
committer | Adam Lesinski <adamlesinski@google.com> | 2017-04-05 11:04:17 -0700 |
commit | cd7197dd26a87ba2eaa891d5415e25cebc74e45b (patch) | |
tree | 84befdb8827fe8bea67969fa0de82fd791c6aaf9 /tools/aapt2/diff/Diff.cpp | |
parent | ba2e284a62eaf79b70a84d3e648ad144a7dea344 (diff) |
Fix NPE when adding WebView to ResourcesManager
Framework resources have their mResDir set to null, since the framework
resources are implicitly always included. Guard against null
when checking to see if the Resources mResDir matches the asset path
WebView wants to inject itself into.
Bug: 36953234
Test: manual
Change-Id: Ie3dc0cc1240441a2466585224cdc7c15555c66bf
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions