diff --git a/README.md b/README.md index a067769..6a83e33 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,18 @@ # AntiPiracySupport -Report new piracy markets and malware to me or get help us out by getting involved. -For ROM developers interested in using this it makes more sense to track this project directly -and then bridge into an existing package with correct perms (like settings). This way any changes made -here to the blacklisted packages and improvements will reach out to everyone. Feel free to fork as well. +ATTN: AntiPiracySupport is slated for depreciation for V2. -commits required: -http://exodus-developers.net:8000/#/c/819/ -http://exodus-developers.net:8000/#/c/1018/ +Report new piracy markets and malware to anyone involved on the team or get help us out by +getting involved. Pull requests are welcome! If you'd like to join the project just ask. +If you're interested in helping to support us it makes more sense to track than it does to fork since +it is going to be maintained here.. but if you fork please be sure to look for updates regularly. -Thank you for helping to support developers/themers by making it more difficult to steal from them! +COMMITS REQUIRED TO INTEGRATE:
+http://exodus-developers.net:8000/#/c/819/
+http://exodus-developers.net:8000/#/c/1018/
+http://exodus-developers.net:8000/#/c/1128/
+http://exodus-developers.net:8000/#/c/1172/ + +Feel free to message any of the team with questions or comments. +Thank you for helping to support developers/themers! diff --git a/src/AntiPiracyInstallReceiver.java b/src/AntiPiracyInstallReceiver.java index ed32deb..79a088c 100644 --- a/src/AntiPiracyInstallReceiver.java +++ b/src/AntiPiracyInstallReceiver.java @@ -46,6 +46,7 @@ public class AntiPiracyInstallReceiver extends BroadcastReceiver { public void onReceive(Context ctx, Intent intent) { Intent notifyService = new Intent(ctx, AntiPiracyNotifyService.class); if (DEBUG) Log.i(TAG, "install check event"); + boolean displayToast = false; for (String app : PACKAGES) { if (DEBUG) Log.e(TAG, "PACKAGE " + app + " testing for install"); @@ -53,11 +54,15 @@ public void onReceive(Context ctx, Intent intent) { Log.i("(╯°□°)╯︵ ┻━┻", "Blacklisted packages found: " + app); if (!isServiceRunning(AntiPiracyNotifyService.class, ctx)) { ctx.startService(notifyService); - Toast.makeText(ctx, "Anti-piracy software activated", Toast.LENGTH_LONG).show(); + displayToast = true; } break; } } + + if (displayToast) { + Toast.makeText(ctx, "Anti-piracy software activated", Toast.LENGTH_LONG).show(); + } } private boolean isServiceRunning(Class serviceClass, Context ctx) { diff --git a/src/utils/AntiPiracyConstants.java b/src/utils/AntiPiracyConstants.java index 0b988d6..d394785 100644 --- a/src/utils/AntiPiracyConstants.java +++ b/src/utils/AntiPiracyConstants.java @@ -34,6 +34,9 @@ public class AntiPiracyConstants { "com.allinone.free", // All-in-one Downloader "com.repodroid.app", // Get Apk Market "org.creeplays.hack", // CreeHack - "com.baseappfull.fwd" // Game Hacker + "com.baseappfull.fwd", // Game Hacker + "com.zmapp", // Z market + "com.dv.marketmod.installer", // Hacked play store that gives refunds without uninstalling the apk + "org.mobilism.android" // Mobilism market }; }