@Override public Object getSystemService(final Context context, final String name) {
		if (Context.CARRIER_CONFIG_SERVICE.equals(name)) throw new UnsupportedOperationException("CarrierConfigManager is not supported");
		return Context.TELEPHONY_SERVICE.equals(name) ? new CondomTelephonyManager(context) : null;
	}
CondomKit to block access to IMEI.

Created by Oasis on 2017/7/21.
library/src/main/java/com/oasisfeng/condom/kit/NullDeviceIdKit.java