commit | 4354aaf0de420ad040fa54b493e5ed2df5b8bc99 | [log] [tgz] |
---|---|---|
author | Tyler Gunn <tgunn@google.com> | Thu Nov 07 14:23:31 2019 -0800 |
committer | Tyler Gunn <tgunn@google.com> | Thu Nov 07 14:23:31 2019 -0800 |
tree | 2389df38f6c32d618835737842fe8bc4387c8010 | |
parent | b3833b3c1ac3993d2defd74f2f622443f53ef313 [diff] |
Fix issue with failing ContactsProviderTest. We used to call DefaultDialerManager.isDefaultOrSystemDialer; that method has an explicit empty/null check for the callingPackage, which I didn't replicate here. Honestly the test probably should have a null callingPackage, but in the interest of maintaining the same code/test behavior, changing this method works to solve the problem. Test: Re-run unit tests Bug: 144004289 Change-Id: I72e3b379ca13db3860f9882585f9f3d06daa1bb5