diff options
author | Philip P. Moltmann <moltmann@google.com> | 2018-02-14 11:05:22 -0800 |
---|---|---|
committer | Philip P. Moltmann <moltmann@google.com> | 2018-02-14 12:33:39 -0800 |
commit | 2ec6657362523a409c91ce8a7ec0a316e33d8851 (patch) | |
tree | a1b6c6c12a281b30c2e63c991e7ca9194f2d87f6 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | e047522ecec94e7253761cf45b94b5a9b9e6c691 (diff) |
Do not check isPortait on null mediaSize
If the mediaSize is null isPortrait causes a NPE, hence don't check it.
Test: adb shell dumpsys print
Fixes: 73126770
Change-Id: I98cfcfc79bac20ee2f1a2aee0f032d7e34075274
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions