An Android library for taking action at runtime based on device security settings