Merge "Fixing incorrect method to launch mobile data plan app." into pi-dev am: 27441a984a

am: 6bc28cdb51

Change-Id: If762696a406b96cb4cdc8a30bcd1b8d70db2804b
This commit is contained in:
Jan Nordqvist
2018-04-18 17:26:52 -07:00
committed by android-build-merger
2 changed files with 27 additions and 1 deletions

View File

@@ -187,7 +187,7 @@ public class DataUsageSummaryPreference extends Preference {
updateCarrierInfo(carrierInfo);
if (mLaunchIntent != null) {
launchButton.setOnClickListener((view) -> {
getContext().sendBroadcast(mLaunchIntent);
getContext().startActivity(mLaunchIntent);
});
launchButton.setVisibility(View.VISIBLE);
} else {