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

Commit cc744149 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "DocumentUI: Add a toast to notify thumbnail limitation"

parents 98f82e1c 32208e74
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -51,4 +51,5 @@
    <string name="toast_no_application" msgid="1339885974067891667">"无法打开文件"</string>
    <string name="toast_failed_delete" msgid="2180678019407244069">"无法删除部分文档"</string>
    <string name="share_via" msgid="8966594246261344259">"分享方式"</string>
    <string name="toast_not_show_thumbnail">"在低内存的设备上无法显示缩略图"</string>
</resources>
+1 −0
Original line number Diff line number Diff line
@@ -98,4 +98,5 @@
    <!-- Title of dialog when prompting user to select an app to share documents with [CHAR LIMIT=32] -->
    <string name="share_via">Share via</string>

    <string name="toast_not_show_thumbnail">Can not show thumbnail on low ram device.</string>
</resources>
+5 −0
Original line number Diff line number Diff line
@@ -321,6 +321,11 @@ public class DirectoryFragment extends Fragment {
        getLoaderManager().restartLoader(mLoaderId, null, mCallbacks);

        updateDisplayState();

        if (mSvelteRecents) {
            Toast.makeText(getActivity(), R.string.toast_not_show_thumbnail,
                    Toast.LENGTH_SHORT).show();
        }
    }

    @Override