Ali Utku Selen 1c3274ca12 Fix crash by "adb shell pm list permissions -f|-s"
pm command makes the assumption that every permission should
contain android:description and android:label attributes while
they are not mandatory. If a permission does not contain these
two attributes, we get "android.content.res.
Resources$NotFoundException: String resource ID #0x0"
followed by a NPE when using -f or -s options.

With the following change, users will get "null" in output for
respective fields.

Change-Id: I4e7f407592fa071abdab1d979775f46ec27dc9d2
2010-11-30 16:22:56 +01:00
..
2010-05-19 08:28:32 -07:00
2010-04-06 12:17:46 -07:00
2010-03-29 18:12:24 -07:00
2010-03-18 17:45:15 -07:00