@Override public void listen(final PhoneStateListener listener, final int events) {
			if ((events & UNSUPPORTED_LISTEN_EVENTS) != 0) {
				if (BuildConfig.DEBUG) throw new UnsupportedOperationException("One of the event type is not supported due to permission READ_PHONE_STATE required: " + events);
				super.listen(listener, events & ~ UNSUPPORTED_LISTEN_EVENTS);
			} else super.listen(listener, events);
		}
CondomKit to block access to IMEI.

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