summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorKensuke Matsui <kensuke.matsui@sony.com>2017-08-03 12:12:36 +0900
committerSelim Cinek <cinek@google.com>2017-09-15 17:21:08 -0700
commitefa1a74bb8ae7d7dabc728cb3dec9c5946221866 (patch)
tree5a512b878ff0c815e491559dbc82f24498b61794 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent406042a5be6f06c57f9e76858b5535c5197f5515 (diff)
Fix NPE which could occur when showing notification guts
SystemUI keeps shown heads-up notification for minimum display time even if the notification is canceled right after it's posted. This is intentional behavior but causes inconsistency between mEntry and mRankingMap in NotificationData. That inconsistency could cause NPE when showing notification guts. To avoid this, update an Entry only when the corresponding Ranking is available. Fixes: 65567562 Test: manual - long press a missed call notification immediately after receiving an incoming call Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/NotificationDataTest.java Change-Id: I6dc70d8e57efa7af0f23862a00d0e18cf39dfebb
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions