Fixing incorrect method to launch mobile data plan app.

Bug: 77529772

Test: manual
Change-Id: Id102cb11bcbcc94b139caff47195364e281850e3
This commit is contained in:
Jan Nordqvist
2018-04-17 17:31:33 -07:00
parent 68f331d452
commit d4c7973615
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 {