diff options
author | Ned Burns <pixel@google.com> | 2019-09-24 13:14:08 -0400 |
---|---|---|
committer | Ned Burns <pixel@google.com> | 2019-09-24 13:14:08 -0400 |
commit | e372f3297edc3d5bc8f9f69754217b63e74fb1df (patch) | |
tree | 2d9ddd6ca619ec65d2b5ae0e01da9c47dc7ace63 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 230448a368062c2ddeb2c6cdfb592704b06ddf7b (diff) |
Fix NPE when updating rankings for pending notifs
Only assign rankings to pending notifs if our current RankingMap
actually has one for that key. Previously we were assigning blank
rankings to those notifs, which was causing an NPE later down the road.
Test: atest
Bug: 141379517
Change-Id: I1e9b3c33adf75a7082dfe17b4915b0f4966da284
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions