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

Commit 49826b1b authored by Steve McKay's avatar Steve McKay Committed by Android (Google) Code Review
Browse files

Merge "Consult local preferences when deciding to show fileSize or not."

parents bc7932ed d0d9afc5
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@ package com.android.documentsui;
import static com.android.documentsui.DirectoryFragment.ANIM_DOWN;
import static com.android.documentsui.DirectoryFragment.ANIM_NONE;
import static com.android.documentsui.DirectoryFragment.ANIM_UP;

import android.app.Activity;
import android.app.FragmentManager;
import android.content.ActivityNotFoundException;
@@ -133,7 +134,7 @@ public class StandaloneActivity extends BaseActivity {
        state.forceAdvanced = intent.getBooleanExtra(DocumentsContract.EXTRA_SHOW_ADVANCED, false);
        state.showAdvanced = state.forceAdvanced
                | LocalPreferences.getDisplayAdvancedDevices(this);
        state.showSize = true;
        state.showSize = LocalPreferences.getDisplayFileSize(this);
        final DocumentStack stack = intent.getParcelableExtra(CopyService.EXTRA_STACK);
        if (stack != null)
            state.stack = stack;