Snap for 9313357 from d8a6a837ad to udc-release

Change-Id: Id7ed5ee9baaeda9628c044682ec7450f7c707054
This commit is contained in:
Android Build Coastguard Worker
2022-11-21 00:31:16 +00:00
2 changed files with 2 additions and 5 deletions

View File

@@ -26,7 +26,6 @@ import android.os.Bundle;
import android.os.UserManager;
import android.os.storage.StorageManager;
import android.util.SparseArray;
import android.view.View;
import androidx.annotation.VisibleForTesting;
import androidx.loader.app.LoaderManager;
@@ -210,9 +209,7 @@ public class StorageCategoryFragment extends DashboardFragment
return;
}
if (getView().findViewById(R.id.loading_container).getVisibility() == View.VISIBLE) {
setLoading(false /* loading */, true /* animate */);
}
setLoading(false /* loading */, false /* animate */);
final long privateUsedBytes = mStorageInfo.totalBytes - mStorageInfo.freeBytes;
mPreferenceController.setVolume(mSelectedStorageEntry.getVolumeInfo());

View File

@@ -385,7 +385,7 @@ public class StorageDashboardFragment extends DashboardFragment
return;
}
setLoading(false /* loading */, true /* animate */);
setLoading(false /* loading */, false /* animate */);
final long privateUsedBytes = mStorageInfo.totalBytes - mStorageInfo.freeBytes;
mPreferenceController.setVolume(mSelectedStorageEntry.getVolumeInfo());