commit | abe06d37a41d5380fb07f7fb11ef2a26eee957f6 | [log] [tgz] |
---|---|---|
author | Brad Ebinger <breadley@google.com> | Thu Jul 14 20:17:50 2016 -0700 |
committer | Brad Ebinger <breadley@google.com> | Thu Jul 14 20:23:29 2016 -0700 |
tree | 7704dd2b28c012c3caf8569b1bffb8318b7c3811 | |
parent | 3ff5eddd28eeec2fed1c833a493ba7469bfa951f [diff] |
Fix ComponentName NPE when binding to InCallService Currently, if the PackageManager can not find the component that is set to be bound, it returns null. This creates a null InCallServiceInfo, which creates a NPE when getComponentName is called during bind. We now never return null and instead try to bind to the ComponentName anyway if the PackageManager returns null. Bug: 30150689 Change-Id: I463332b1707a76d8b018aaaacbca542c91948dbf