OSDN Git Service

Guard against MountService throwing NPE.
authorJeff Sharkey <jsharkey@android.com>
Thu, 8 Jan 2015 22:00:13 +0000 (14:00 -0800)
committerJeff Sharkey <jsharkey@android.com>
Thu, 8 Jan 2015 22:00:15 +0000 (14:00 -0800)
commit9708669b2fe8ae6aae4274d78d712c276b6fad40
tree25ea61b5768b4b978987b4bef8211c0f2ef3bb46
parent1eee52b1aa0ba0cc05ac513d0fa91de9ee643faf
Guard against MountService throwing NPE.

Fall through to below logic and return null instead of crashing the
entire app.  We already tell developers the value may be null.

Bug: 17781998
Change-Id: I05dce90ae6bc547d74f8c16d30b3dc7888a937fe
core/java/android/app/ContextImpl.java