OSDN Git Service

Fix NPE that prevented any package w/o license to be installed.
authorXavier Ducrohet <xav@android.com>
Thu, 6 Aug 2009 00:09:35 +0000 (17:09 -0700)
committerXavier Ducrohet <xav@android.com>
Thu, 6 Aug 2009 00:13:00 +0000 (17:13 -0700)
commit9638f3843752905dbb3bf9e516af3780ca7ee00a
tree3377cc30cc50b2b11ce0c49fe91afcaf430748f1
parentc6e5a2c62a509c7095e72669eb5af568a7dc840e
Fix NPE that prevented any package w/o license to be installed.

java.util.Properties#setProperty() doesn't like it when the value is null
which was the case when a package had no license.

Made sure it won't happen on other properties than the license as well.

Also improved error display when an unexpected Throwable is thrown during
install (Stack Call is now display if the Throwable has no message).

BUG:2037085