Skip to content

frankkienl/AntiAutoUpdate

Repository files navigation

AntiAutoUpdate

Dont let Google Play auto update the app in the Foreground

This app will fix the behaviour for now.

My Rant: https://plus.google.com/113600610540632408585/posts/bCuUg8VsztB

Download

https://github.com/frankkienl/AntiAutoUpdate/blob/master/AntiAutoUpdate-release.apk

Not on Google Play

This application will not be published on Google Play.

This is because that would violate rule 4.4 of the Developer Distrubtion Agreement.

(As this app will Kill the Play Store as soon as it tries to update the foreground-app)

http://play.google.com/intl/ALL_us/about/developer-distribution-agreement.html

(...) 4.4 Prohibited Actions. You agree that you will not engage in any activity with the Market, including the development or distribution of Products, that interferes with, disrupts, damages, or accesses in an unauthorized manner the devices, servers, networks, or other properties or services of any third party including, but not limited to, Android users, Google or any mobile network operator. You may not use customer information obtained from the Market to sell or distribute Products outside of the Market. (...)

Code

If Google is reading this, please implement this piece of code in the Play Store:

String foregroundApp = ((ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE)).getRunningTasks(1).get(0).topActivity.getPackageName();
if (appThatWillBeUpdated.equals(foregroundApp)){
    return; //Do not update at this time.
}

https://github.com/frankkienl/AntiAutoUpdate/blob/master/src/nl/frankkie/antiautoupdate/Util.java#L103

About

Dont let Google Play auto update the app in the Foreground

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages