我无意中发现通过setComponent的方式,无论ComponentName的参数是什么,都能成功返回到上一个activity
我想知道这是为什么?
@Override
public Intent getSupportParentActivityIntent() {
Intent intent=new Intent();
intent.setComponent(new ComponentName(
"aa", "aa"));
return intent;
}