summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorMady Mellor <madym@google.com>2017-01-26 11:58:56 -0800
committerMady Mellor <madym@google.com>2017-01-26 11:58:56 -0800
commitd0baf3c9a6464bab6499c864c6e8aa603d84d879 (patch)
tree2bed028549d2ecfbbec2d551011e08d09fe0c34b /tools/aapt2/diff/Diff.cpp
parente7c8aeefb449ea4cf810d5bdcd94ebe3de7541f4 (diff)
Fix crash on density / font change in NotificationGuts.gutsContent
There were two issues: 1) The mGutsMenuItem wasn’t getting nulled out correctly 2) There was no check for guts != null when seeing if there were exposed guts, this meant the bind would happen when there were no guts exposed, because mGutsMenuItem wasn’t nulled out correctly, it would be out of date / still attached to a parent. Test: Manually tried: 1) Have notifications that *haven’t* had guts revealed 2) Change screen density 1) Have notifications, reveal some of their guts 2) Change screen density Bug: 34737513 Change-Id: Iff0a782c9377aec973eb07645e852bc320dbb101
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions