fix: correct case when application has no ResPackages

- refs: #2701
This commit is contained in:
Connor Tumbleson 2022-07-10 07:42:29 -04:00
parent f94cdc5cf3
commit 7a2c0c8bb8
No known key found for this signature in database
GPG Key ID: BC12D5F3264560C1
1 changed files with 3 additions and 0 deletions

View File

@ -65,6 +65,9 @@ final public class AndrolibResources {
ResPackage pkg;
switch (pkgs.length) {
case 0:
pkg = null;
break;
case 1:
pkg = pkgs[0];
break;