summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorRubin Xu <rubinxu@google.com>2017-01-23 23:55:28 +0000
committerRubin Xu <rubinxu@google.com>2017-01-23 23:55:28 +0000
commit4929a5d3b434a6915d64e449b234b40b8eff9993 (patch)
tree9a320a753b3f3aa2228f46faba1fd3946f6b8270 /tools/aapt2/diff/Diff.cpp
parent18de051c986b0871848a77d2c2dd11659af365c9 (diff)
Fix NPE in LockPatternUtils
mDevicePolicyManager field can be null if getDevicePolicyManager() is never called. A previous refactor removed an apparent unused call to getDevicePolicyManager(), leading to NPE when mDevicePolicyManager is accessed. We should always use getDevicePolicyManager() to access DevicePolicyManager instance. Test: manual Bug: 34612758 Change-Id: Ic964b4ee4e3c56301295b8f0629bd005c732c5c4
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions