am 9f2b5a74
: Merge "Don\'t crash on NameNotFoundException" into mnc-dev
* commit '9f2b5a74420988824dd3a91abcdb85bea6fc48fa': Don't crash on NameNotFoundException
This commit is contained in:
@@ -46,7 +46,8 @@ public class StorageWizardMoveConfirm extends StorageWizardBase {
|
|||||||
mPackageName = getIntent().getStringExtra(EXTRA_PACKAGE_NAME);
|
mPackageName = getIntent().getStringExtra(EXTRA_PACKAGE_NAME);
|
||||||
mApp = getPackageManager().getApplicationInfo(mPackageName, 0);
|
mApp = getPackageManager().getApplicationInfo(mPackageName, 0);
|
||||||
} catch (NameNotFoundException e) {
|
} catch (NameNotFoundException e) {
|
||||||
throw new RuntimeException(e);
|
finish();
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Sanity check that target volume is candidate
|
// Sanity check that target volume is candidate
|
||||||
|
Reference in New Issue
Block a user