diff options
author | Jeremy Klein <jlklein@google.com> | 2016-03-12 16:29:54 -0800 |
---|---|---|
committer | Lorenzo Colitti <lorenzo@google.com> | 2017-01-26 18:51:36 +0900 |
commit | a17dabeddee21dd5eae25310ecb755ad8e6f8de6 (patch) | |
tree | e318dd134cdf04ecdff2d004ed3f889b0e2ef8aa /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 4bee7e4edb3f532f5064ab6378b6a0437f83ea62 (diff) |
Add a null check for the OnStartTetheringCallback.
This avoids a NullPointerException when trying to call the callback
and gives a more readable error message.
(cherry picked from commit 5f277e1667b49976a77c9fa79b9a04d775f3b49e)
Change-Id: Ia419ff68ef10f308f9e44be47420e27099ee6070
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions