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

Commit 0d8663da authored by Philip Junker's avatar Philip Junker
Browse files

Initialize intent to avoid nullpointer exception

Fix: 203586231
Test: Manually flashed, installed two apps that can handle USB devices, verified dialog opens as expected.
Change-Id: I146301c24ca161d5f5ae68f9943120c8fa137a29
parent 570f3b18
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -112,6 +112,7 @@ public class UsbResolverActivity extends ResolverActivity {
                mOtherProfileIntent.putParcelableArrayListExtra(EXTRA_RESOLVE_INFOS,
                        rListOtherProfile);
            } else {
                mOtherProfileIntent = new Intent();
                mOtherProfileIntent.setComponent(ComponentName.unflattenFromString(
                        this.getResources().getString(
                                com.android.internal.R.string.config_usbConfirmActivity)));