Fixes the only failing unit test on Android.
Suppresses build warning.