diff options
author | emancebo <emancebo@cyngn.com> | 2016-06-17 15:40:26 -0700 |
---|---|---|
committer | Stephen Bird <sbird@cyngn.com> | 2016-09-13 15:08:07 -0700 |
commit | 435f3e70248f235ec918d08efa20178192053529 (patch) | |
tree | 613e3fb853edd144b5ae5ded7d9ca57cac36b71b /src/com | |
parent | 6da984a4c2bf92030521709eefd738858a2d31ec (diff) | |
download | android_packages_apps_Messaging-435f3e70248f235ec918d08efa20178192053529.tar.gz android_packages_apps_Messaging-435f3e70248f235ec918d08efa20178192053529.tar.bz2 android_packages_apps_Messaging-435f3e70248f235ec918d08efa20178192053529.zip |
Fix getProviderInfo compile error after api change
Change-Id: Ied74ba7efb73e0ed04fdbaf2b3d697f629c34906
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/cyanogenmod/messaging/util/RidesharingUtil.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/cyanogenmod/messaging/util/RidesharingUtil.java b/src/com/cyanogenmod/messaging/util/RidesharingUtil.java index 5c2ef05..844cf97 100644 --- a/src/com/cyanogenmod/messaging/util/RidesharingUtil.java +++ b/src/com/cyanogenmod/messaging/util/RidesharingUtil.java @@ -51,8 +51,8 @@ public class RidesharingUtil { pendingInfoResult.setResultCallback(new ResultCallback<ProviderInfoResult>() { @Override public void onResult(ProviderInfoResult infoResult) { - if (infoResult != null && infoResult.providerInfo != null) { - mBrandBitmap = infoResult.providerInfo.getBrandIcon(); + if (infoResult != null && infoResult.getProviderInfo() != null) { + mBrandBitmap = infoResult.getProviderInfo().getBrandIcon(); imageView.setImageBitmap(mBrandBitmap); } else { Log.e(TAG, "Unable to get provider info for active plugin: " |