Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3213aac1 authored by Philip P. Moltmann's avatar Philip P. Moltmann Committed by android-build-merger
Browse files

DO NOT MERGE: Truncate Permission descriptions to ~1000 characters.

am: c851db8a

Change-Id: I53980a0c65cac454e8a85804452f99467f2e6f3a
parents 309393b1 c851db8a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -258,7 +258,7 @@ public final class AllAppPermissionsFragment extends SettingsWithHeader {
            icon = getContext().getDrawable(R.drawable.ic_perm_device_info);
        }
        pref.setIcon(Utils.applyTint(getContext(), icon, android.R.attr.colorControlNormal));
        pref.setTitle(perm.loadLabel(pm));
        pref.setTitle(perm.loadSafeLabel(pm, 20000, PackageItemInfo.SAFE_LABEL_FLAG_TRIM));
        pref.setSingleLineTitle(false);
        final CharSequence desc = perm.loadDescription(pm);