diff --git a/CHANGELOG.md b/CHANGELOG.md index aac97500d..e88f93c1d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ Changelog * Fix up navigation (again) ([issue](https://github.com/M66B/XPrivacy/issues/681)) * Auto import pro license file ([issue](https://github.com/M66B/XPrivacy/issues/703)) * Allow application specific disable of globally set randomization ([issue](https://github.com/M66B/XPrivacy/issues/706)) +* Compatibility with *MultiSimTelephonyManager* ([issue](https://github.com/M66B/XPrivacy/issues/732)) * Restrict */sys/block/.../cid* and */sys/class/.../cid* ([issue](https://github.com/M66B/XPrivacy/issues/734)) * Restrict system properties ending with *cid* ([issue](https://github.com/M66B/XPrivacy/issues/734)) * Updated Slovak translation diff --git a/src/biz/bokhorst/xprivacy/Requirements.java b/src/biz/bokhorst/xprivacy/Requirements.java index ef2c67a7a..1e4976671 100644 --- a/src/biz/bokhorst/xprivacy/Requirements.java +++ b/src/biz/bokhorst/xprivacy/Requirements.java @@ -205,7 +205,7 @@ private static boolean checkField(Object obj, String fieldName, Class expecte // Check field if (field != null) { Object value = field.get(obj); - if (value != null && expectedClass.isAssignableFrom(value.getClass())) + if (value == null || expectedClass.isAssignableFrom(value.getClass())) return true; } } catch (Throwable ex) {