Google shit again.

This commit is contained in:
2021-03-18 20:00:19 +01:00
parent 221cfa4339
commit 64d1aec910
8 changed files with 94 additions and 35 deletions

View File

@@ -1186,4 +1186,20 @@ public class Miscellaneous extends Service
return returnValue;
}
public static boolean googleToBlameForLocation()
{
if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q)
{
if (BuildConfig.FLAVOR.equalsIgnoreCase("googlePlayFlavor"))
{
if (Rule.isAnyRuleUsing(Trigger.Trigger_Enum.pointOfInterest))
{
return true;
}
}
}
return false;
}
}