Skip to content
Snippets Groups Projects
Commit c42a4dad authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Initialize intent to avoid nullpointer exception"

parents d2bfb220 0d8663da
No related branches found
No related tags found
No related merge requests found
......@@ -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)));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment