Merge "Fix strings in PlatformCompatDashboard"

This commit is contained in:
Andrei-Valentin Onea
2020-01-20 13:18:06 +00:00
committed by Gerrit Code Review
3 changed files with 10 additions and 7 deletions

View File

@@ -228,9 +228,8 @@ public class PlatformCompatDashboard extends DashboardFragment {
final Drawable icon = applicationInfo.loadIcon(context.getPackageManager());
final Preference appPreference = new Preference(context);
appPreference.setIcon(icon);
appPreference.setSummary(mSelectedApp
+ " SDK "
+ applicationInfo.targetSdkVersion);
appPreference.setSummary(getString(R.string.platform_compat_selected_app_summary,
mSelectedApp, applicationInfo.targetSdkVersion));
appPreference.setKey(mSelectedApp);
appPreference.setOnPreferenceClickListener(
preference -> {