Sorry if this is a blatantly obvious issue with a resolution. I can't seem to figure out how to fix it.
I'm importing.
import android.provider.Settings;
And attempting to run the code snippet below in Activities, Application, Broadcast Receivers, etc. It works fine in the paid version of my app. When I copy the code out into the free version and paste it in(same machine, same sdk) the compiler goes red.
boolean canDrawOverlays;
if(Build.VERSION.SDK_INT >= 23)
{
canDrawOverlays = Settings.canDrawOverlays(getApplicationContext());
}