am a42d94d8: am 9f2b5a74: Merge "Don\'t crash on NameNotFoundException" into mnc-dev

* commit 'a42d94d82e72c5ef0e99cb9f755673c82e3f8955':
  Don't crash on NameNotFoundException
This commit is contained in:
Makoto Onuki
2015-06-17 18:15:09 +00:00
committed by Android Git Automerger

View File

@@ -46,7 +46,8 @@ public class StorageWizardMoveConfirm extends StorageWizardBase {
mPackageName = getIntent().getStringExtra(EXTRA_PACKAGE_NAME);
mApp = getPackageManager().getApplicationInfo(mPackageName, 0);
} catch (NameNotFoundException e) {
throw new RuntimeException(e);
finish();
return;
}
// Sanity check that target volume is candidate