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

Commit d0d9afc5 authored by Steve McKay's avatar Steve McKay
Browse files

Consult local preferences when deciding to show fileSize or not.

BUG=20881361

Change-Id: I672b843bfe66249d354dffb302d4d3873819dde0
parent 5c7773d8
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;