commit | c0d131893f6ca976e50367bd1fe8e5b9199ffb39 | [log] [tgz] |
---|---|---|
author | Torbjorn Eklund <torbjorn.eklund@sony.com> | Thu Apr 11 09:55:07 2019 +0200 |
committer | Torbjorn Eklund <torbjorn.eklund@sony.com> | Tue Apr 16 07:11:01 2019 +0000 |
tree | c8e0f038eecd1bd8c9e4f358021f3128c4bcf072 | |
parent | b51dd5754d8aec6bfd1e207f78212cfc8d3a375d [diff] |
CallFeaturesSettingTest: Solves failing test case Solves failing test case in CallFeaturesSettingTest that was introduced by patch: 730453920d9ca71b357abcc5fa058365ab6635ba Solved by using a real Context which is obtained with a call to InstrumentationRegistry.getTargetContext(). This allows SubscriptionManager.getResourcesForSubId() to complete successfully. Bug: 130537951 Test: atest TeleServiceTests:CallFeaturesSettingTest Change-Id: I418b73bfdb89ec05d9455c9fb444ac22ce86fe75