diff options
author | Adam Powell <adamp@google.com> | 2016-03-03 08:43:37 -0800 |
---|---|---|
committer | Adam Powell <adamp@google.com> | 2016-03-03 08:43:37 -0800 |
commit | d93f3b10e21b225ce4ffc16c87597d594a8bc942 (patch) | |
tree | 666e621de0c90b9b3d256ad964dcb9763cc38ff9 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | a793284540e1ccba648871dafb1561dcffc8aa49 (diff) |
Fix crash for showing linker errors for apps with no label
Use ApplicationInfo#loadLabel to provide the standard fallback chain
of strings to identify an app instead of getString on the raw label
resource id, which will throw a NotFoundException if 0.
Bug 27469189
Change-Id: I344273c600f029361f3accfe5d91b0d332635b3d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions