summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorFan Zhang <zhfan@google.com>2017-07-21 10:21:36 -0700
committerFan Zhang <zhfan@google.com>2017-07-21 22:11:41 +0000
commit7b77cf89382d13dc89e7d800c7fd04ac33ec55f3 (patch)
tree10cd5c58c254a4277c853aa031973e978302db8b /tools/aapt2/java/JavaClassGenerator_test.cpp
parent1cdf8ff72ea72c320a62b219e3ca07db9a652e4c (diff)
Fix suggestion crash if parser fails to parse dismiss rule
We store a index value in shared pref to figure out when a suggestion should be displayed next time. However the rule can change due to various reasons. When the index and the rule itself go out of sync, we should not crash. Change-Id: Id3ea88b6d321434e20ac0cd3e2670524c237e24e Bug: 63908636 Test: robotests (cherry picked from commit 4d37a1a1e1ca902b8a65bce64fafa0eeea51a4dd)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions