7 Commits

Author SHA1 Message Date
Peter Serwylo
c7145a63cb Prevent android.support.v7.SearchView from being excluded by proguard.
There is a bug where the android.support.widget.SearchView gets
removed by proguard which causes breakage. This prevents that
from occuring by a bit of a brute force approach. While it would
be possible to keep only the class in question, this may leave
us open to other bugs in the future. Better to be safe than sorry.

http://stackoverflow.com/questions/22136032/action-bar-search-view-android-null-error
2014-09-11 10:55:24 +09:30
Ron Rieve
3a3a480429 Ask proguard to keep SystemInstaller observers
Proguard removed the method org.fdroid.fdroid.installer.SystemInstaller$PackageInstallObserver$packageInstalled,
resulting in an AbstractMethodError crash.
Fixes issue [79](https://gitlab.com/fdroid/fdroidclient/issues/79).
2014-09-07 18:49:03 +02:00
Peter Serwylo
785dd036d1 Include all spongycastle classes when running proguard.
This increases the size of the .apk by ~800kb, which is clearly
undesirable. However, the nature of the Java security suite
implementations are that they use a lot of reflection to instantiate
classes. The end result is that proguard excludes classes which
may be required, depending on the security algorithms required
by certain certificates.

Fixes issue #88
2014-09-08 00:36:02 +09:30
Daniel Martí
08efdaf135 Suppress some more proguard warnings that we don't care about 2014-05-21 08:53:59 +02:00
Daniel Martí
ed4b9fa1d2 Don't make javax.naming normal warnings stop gradle 2014-05-21 08:48:17 +02:00
Daniel Martí
a76a465cf1 Re-add theming, much better this time 2013-11-03 16:12:22 +01:00
Daniel Martí
80de44ecc6 Add proguard-project.txt 2013-08-19 17:23:25 +02:00