diff options
author | JW Wang <wangchun@google.com> | 2022-03-31 10:06:06 +0800 |
---|---|---|
committer | Songchun Fan <schfan@google.com> | 2022-04-05 19:51:18 +0000 |
commit | e58049a3ea2c056b999c281c7031f9e16e42f809 (patch) | |
tree | e8c32a00efea9047f0709a8646c338c2de4761cf /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 49903f64b5eb7cea5957983eb71990ca7aa7095e (diff) |
Fix NPE
NPE happens when there is an orphaned session which we've
tried to prevent in all cases.
Log an error message if this situation happens.
Bug: 227342978
Test: atest CtsRootPackageInstallerHostTestCases
Change-Id: Ia21323926bd9db1a6f05461904deb45b4c3dd0bc
(cherry picked from commit 07e31dfb1efabc8110d64819f26a06e12a35e020)
Merged-In: Ia21323926bd9db1a6f05461904deb45b4c3dd0bc
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions