Merge "[ALPSxxxxxxxx] Storage view is white and cannot show any info" am: 24f96c2c2e

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2092346

Change-Id: I3435e3bf2ee61ad4be971334f791543d9c26856d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot
2022-05-30 03:27:45 +00:00
committed by Automerger Merge Worker

View File

@@ -361,9 +361,7 @@ public class StorageDashboardFragment extends DashboardFragment
return; return;
} }
if (getView().findViewById(R.id.loading_container).getVisibility() == View.VISIBLE) { setLoading(false /* loading */, true /* animate */);
setLoading(false /* loading */, true /* animate */);
}
final long privateUsedBytes = mStorageInfo.totalBytes - mStorageInfo.freeBytes; final long privateUsedBytes = mStorageInfo.totalBytes - mStorageInfo.freeBytes;
mPreferenceController.setVolume(mSelectedStorageEntry.getVolumeInfo()); mPreferenceController.setVolume(mSelectedStorageEntry.getVolumeInfo());