diff options
author | Brad Ebinger <breadley@google.com> | 2016-03-17 21:44:57 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-03-17 21:44:57 +0000 |
commit | 2d60e94466e63df23f80ba9f9e97c6f4588c2589 (patch) | |
tree | d7c3c632e79c7fed2aee41c9670fee06551cc327 /src/com | |
parent | 1d8b604d29ffc15e1df72b0744e33ce9bf71d796 (diff) | |
parent | ad6fbc0f594341d23f33ccf73c765e9b2dc9adab (diff) |
Merge "Return null constructing a malformed PhoneAccountHandle" into nyc-dev am: ef2fdd5
am: ad6fbc0
* commit 'ad6fbc0f594341d23f33ccf73c765e9b2dc9adab':
Return null constructing a malformed PhoneAccountHandle
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/android/dialer/calllog/PhoneAccountUtils.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/dialer/calllog/PhoneAccountUtils.java b/src/com/android/dialer/calllog/PhoneAccountUtils.java index 8c3985b3f..b3ce18b3c 100644 --- a/src/com/android/dialer/calllog/PhoneAccountUtils.java +++ b/src/com/android/dialer/calllog/PhoneAccountUtils.java @@ -59,6 +59,9 @@ public class PhoneAccountUtils { return null; } final ComponentName componentName = ComponentName.unflattenFromString(componentString); + if (componentName == null) { + return null; + } return new PhoneAccountHandle(componentName, accountId); } |