summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2017-05-15 16:34:52 -0700
committerChristopher Tate <ctate@google.com>2017-05-17 10:33:01 -0700
commit3bf017325c26d868cfdc2e81ac303c5cd33196a9 (patch)
tree380618615f8bd8787a814d69792057ffe6c70e17 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent45da7141b152778f83e1e0327cef5b857583ca9d (diff)
Be resilient to restoring unintelligible network templates
Some OEMs have introduced incompatible network bookkeeping. We now detect and ignore those network definitions at restore time. In addition, we now * log when an undefined network match type is used to construct a NetworkTemplate instance, and * quietly refuse to match such a NetworkTemplate against any known network identifier, rather than crashing the inquiring app. Bug 38151335 Test: manual Change-Id: I565b6f6b87df1f13a8c0c01ae6049bda270b1e48
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions