1
0
Fork 0
mirror of https://github.com/M66B/NetGuard.git synced 2024-12-26 09:48:46 +00:00

Debuggable

This commit is contained in:
M66B 2016-02-26 08:08:26 +01:00
parent e8d7adfaa8
commit e1148dac6c

View file

@ -170,7 +170,7 @@ public class IAB implements ServiceConnection {
}
public static boolean isPurchased(String sku, Context context) {
if (Util.getSelfVersionName(context).contains("beta"))
if (Util.isDebuggable(context) || Util.getSelfVersionName(context).contains("beta"))
return true;
SharedPreferences prefs = context.getSharedPreferences("IAB", Context.MODE_PRIVATE);
return (prefs.getBoolean(sku, false) ||