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

Commit 48e8ac31 authored by Adam Powell's avatar Adam Powell
Browse files

Fix bug 3347747 - Use a better context when fetching resources for

action modes

Change-Id: I0c6595c290a9d41f673944c127d2e9aaf7dc84ce
parent 783e6c8b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -681,12 +681,12 @@ public class ActionBarImpl extends ActionBar {

        @Override
        public void setTitle(int resId) {
            setTitle(mActivity.getString(resId));
            setTitle(mContext.getResources().getString(resId));
        }

        @Override
        public void setSubtitle(int resId) {
            setSubtitle(mActivity.getString(resId));
            setSubtitle(mContext.getResources().getString(resId));
        }

        @Override