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

Commit 12c10cfa authored by Jason Hsu's avatar Jason Hsu Committed by Android (Google) Code Review
Browse files

Merge "Correct Magnification shortcut title" into tm-dev

parents 1bc14277 e48ebb97
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -470,9 +470,7 @@ public class ToggleScreenMagnificationPreferenceFragment extends
        mShortcutPreference.setKey(getShortcutPreferenceKey());
        mShortcutPreference.setSummary(getShortcutTypeSummary(getPrefContext()));
        mShortcutPreference.setOnClickCallback(this);

        final CharSequence title = getString(R.string.accessibility_shortcut_title, mPackageName);
        mShortcutPreference.setTitle(title);
        mShortcutPreference.setTitle(getShortcutTitle());

        final PreferenceCategory generalCategory = findPreference(KEY_GENERAL_CATEGORY);
        generalCategory.addPreference(mShortcutPreference);