diff options
author | Ali Utku Selen <aliutku.selen@sonyericsson.com> | 2010-11-30 10:37:10 +0100 |
---|---|---|
committer | Kenneth Andersson <kenneth.andersson@sonyericsson.com> | 2010-11-30 16:22:56 +0100 |
commit | 1c3274ca12a6931568693b897c269107f0346eab (patch) | |
tree | f16be948fd0c11f124c2e8b402b1f290c1956879 /docs/html/sdk/api_diff/6/changes | |
parent | f0f6c54b13831b11bd7a3bd7a01dc49b7505e56e (diff) |
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
Diffstat (limited to 'docs/html/sdk/api_diff/6/changes')
0 files changed, 0 insertions, 0 deletions