Maps: disable Alohalytics

Stop app usage data collection. It wasn't sent anywhere (just dumped to
the private storage), but it's always better to have no data stored at
all.

Fixes fdroid/fdroiddata#1421.
This commit is contained in:
relan 2018-10-26 08:45:46 +03:00
parent 4eaeb50a7b
commit fd6e06b6b3

View file

@ -138,6 +138,7 @@ Build:8.4.2-1-Google,1047
sed -i -e '/^ <meta-data/,/^$/d' AndroidManifest.xml && \
sed -i -e 's/!BuildConfig.FABRIC_API_KEY.startsWith("0000")/false/' src/com/mapswithme/maps/analytics/ExternalLibrariesMediator.java && \
sed -i -e 's/BuildConfig.PW_APPID.equals(PW_EMPTY_APP_ID)/true/' src/com/mapswithme/maps/analytics/PushWooshEventLogger.java && \
sed -i -e 's/enabled_ = true/enabled_ = false/' ../3party/Alohalytics/src/{alohalytics.h,cpp/alohalytics.cc} && \
sed -i -e 's/MAPS.ME/Maps/' res/values*/strings.xml
scanignore=data/*.bin,data/ugc_migration/*.bin
scandelete=3party