Fix a bug where Settings would crash from search into storage.

If the user entered the StorageDashboardFragment from search,
it would crash due to a precondition check added to the Storage
Manager. Because no volume id was set in the bundle for it to
check, it hits an assert that the volume id is not null causing
Settings to crash.

This sets a sensible default instead of null.

Bug: 34633464
Test: Manual. Entering through search does not crash now.
Change-Id: Ia6cd82929a0813eefcdad279436b9c2fe30b0146
(cherry picked from commit 4d4142b6aad3da4c1757b56a78a9196b45a7982c)
diff --git a/src/com/android/settings/deviceinfo/ b/src/com/android/settings/deviceinfo/
index d05d088..8fabd8d 100644
--- a/src/com/android/settings/deviceinfo/
+++ b/src/com/android/settings/deviceinfo/
@@ -21,9 +21,6 @@
 import android.provider.SearchIndexableResource;
-import android.view.LayoutInflater;
-import android.view.View;
-import android.view.ViewGroup;
@@ -62,7 +59,8 @@
         // Initialize the storage sizes that we can quickly calc.
         StorageManager sm = context.getSystemService(StorageManager.class);
-        String volumeId = getArguments().getString(VolumeInfo.EXTRA_VOLUME_ID);
+        String volumeId = getArguments().getString(VolumeInfo.EXTRA_VOLUME_ID,
+                VolumeInfo.ID_PRIVATE_INTERNAL);
         mVolume = sm.findVolumeById(volumeId);
         if (!isVolumeValid()) {