diff options
| author | Ben Lin <linben@google.com> | 2019-01-17 18:19:37 -0800 |
|---|---|---|
| committer | Ben Lin <linben@google.com> | 2019-01-17 18:19:37 -0800 |
| commit | 4cb11b8348c1bfeb35630c2b36aade64413b0794 (patch) | |
| tree | 98fb99a9d3af8baafceba1979c6fb5067f268414 /tools/aapt2/java/JavaClassGenerator.cpp | |
| parent | eb77f51bf43cbafa4a762a0d073386b43df97208 (diff) | |
Add null checks for {Gps, Fused}GeofencedHardware.
These two variables are @Nullable and can be passed in as null in
GeofenceProxy's constructor.
Bug: 122475887
Test: Run on a device with no GPS support, no more crash.
Change-Id: I2455e30d10d9bd8ce667ee16bb7b99ec357aad46
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions
