Merge "Fix UI janky in privacy settings"

This commit is contained in:
TreeHugger Robot
2019-10-28 12:55:26 +00:00
committed by Android (Google) Code Review
3 changed files with 7 additions and 3 deletions

View File

@@ -105,7 +105,7 @@ public class AppPermissionsPreferenceController extends BasePreferenceController
final CharSequence summary = !permissionsToShow.isEmpty()
? mContext.getString(R.string.app_permissions_summary,
ListFormatter.getInstance().format(permissionsToShow).toLowerCase())
: null;
: mContext.getString(R.string.runtime_permissions_summary_no_permissions_granted);
mPreference.setSummary(summary);
}
}