Merge "Initialize intent to avoid nullpointer exception"
This commit is contained in:
committed by
Android (Google) Code Review
commit
c42a4dadd8
@@ -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)));
|
||||
|
||||
Reference in New Issue
Block a user