Robolectric & Android (WARNING: no system property values ​​for ro.control_privapp_permissions)

I am running robolectric ver3.4.2 tests in Android Studio 3.0 beta and 2.3. Tests behave normally, but I get these warnings:

WARNING: no system properties value for ro.control_privapp_permissions WARNING: no system properties value for ro.crypto.state WARNING: no system properties value for ro.crypto.type 

Any idea why?

+8
android-studio unit-testing robolectric
source share
1 answer

I assume this is a similar problem with reported several years ago. Looking at the sources of Robolectric I do not see an emulation of these properties. And, most likely, the AOSP code needs them and warns of absence.

0
source share

All Articles