Merge "Fix Settings crash in Storage settings." into oc-dev am: 816956d249

am: bc628dfdd9

Change-Id: I47b9bd56c6a7bb6f2a640ae067623a4f5395d455
This commit is contained in:
Daniel Nishi
2017-05-08 16:53:21 +00:00
committed by android-build-merger
2 changed files with 24 additions and 0 deletions

View File

@@ -300,6 +300,10 @@ public class StorageItemPreferenceController extends PreferenceController {
}
private Intent getAudioIntent() {
if (mVolume == null) {
return null;
}
Bundle args = new Bundle();
args.putString(ManageApplications.EXTRA_CLASSNAME,
Settings.StorageUseActivity.class.getName());
@@ -312,6 +316,10 @@ public class StorageItemPreferenceController extends PreferenceController {
}
private Intent getAppsIntent() {
if (mVolume == null) {
return null;
}
Bundle args = new Bundle();
args.putString(ManageApplications.EXTRA_CLASSNAME,
Settings.StorageUseActivity.class.getName());