summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAnnie Meng <anniemeng@google.com>2018-05-18 15:00:49 +0100
committerAnnie Meng <anniemeng@google.com>2018-05-21 13:52:16 +0100
commit20b4d846edafeaacf0da2c810f511c236fdbd187 (patch)
tree3b765da75bea34203afce7dfc204dadd67940816 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent167b451daa1893ee9b15cb25bfba627a7254acd3 (diff)
Fix NPE in restoring network policies
When backing up network policies, we write null for policies that are null or are inferred. When restoring, this sends null policies to be set which results in a NPE. Bug: 79961560 Test: 1) atest NetworkPolicyManagerServiceTest 2) Manual: adb restore using backup set with null policies does not crash Change-Id: I450685e38acae0658ea984b86ca8b17ca27a71a6
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions