Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 13 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -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: <br />
http://exodus-developers.net:8000/#/c/819/ <br />
http://exodus-developers.net:8000/#/c/1018/ <br />
http://exodus-developers.net:8000/#/c/1128/ <br />
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!
7 changes: 6 additions & 1 deletion src/AntiPiracyInstallReceiver.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,23 @@ 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");
if (isInstalled(ctx, app)) {
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) {
Expand Down
5 changes: 4 additions & 1 deletion src/utils/AntiPiracyConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
};
}