Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 302b77f4 authored by Makoto Onuki's avatar Makoto Onuki
Browse files

Don't crash on NameNotFoundException

Just finish().

Bug 20672468

Change-Id: Ic600e060990b7e3bc3e98bda63d0f4c9e530fb94
parent 4b60af78
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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