@Override public void setIntent(final Intent intent) {
		final ComponentName component = intent.getComponent();
		if (component != null && PACKAGE_PLACEHOLDER_SELF.equals(component.getPackageName())) {
			if (component.getClassName().isEmpty()) intent.setPackage(getContext().getPackageName()).setComponent(null);
			else intent.setComponent(new ComponentName(getContext().getPackageName(), component.getClassName()));
		}
		super.setIntent(intent);
	}
Improved {@link Preference}

Created by Oasis on 2017/3/7.
mobile/src/main/java/com/oasisfeng/settings/AdvancedPreference.java