Skip to content
This repository was archived by the owner on Dec 8, 2022. It is now read-only.

Commit 240adbb

Browse files
author
Nikolay Elenkov
committed
fixed interface error and added privacy policy
1 parent b7a4c08 commit 240adbb

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
xmlns:tools="http://schemas.android.com/tools"
44
package="com.github.andlyticsproject"
55
android:installLocation="auto"
6-
android:versionCode="263"
7-
android:versionName="2.8.0-BETA" >
6+
android:versionCode="264"
7+
android:versionName="2.8.0-BETA1" >
88

99
<uses-permission android:name="android.permission.INTERNET" />
1010
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

res/raw/credits_thirdparty.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
</style>
1414
</head>
1515
<body>
16+
<p>
17+
<a href="http://mytrans.it/misc/andlytics_privacy.htm">Privacy policy</a>
18+
</p>
1619
<ul id="credits">
1720
<li>ActionBarSherlock
1821
<ul>

res/values/strings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@
180180
<string name="about_title">About Andlytics</string>
181181
<string name="about_credits">Credits</string>
182182
<string name="about_text">Andlytics is open source, please feel free to contribute via GitHub. This app is not associated with Google in any way.\n\nVisit us on:</string>
183-
<string name="about_thirdsparty_credits_title">Used 3rd party libraries:</string>
183+
<string name="about_thirdsparty_credits_title">Privacy policy and 3rd party libraries:</string>
184184
<string name="appinfo_link_addedit_dialog_title_add">ADD LINK</string>
185185
<string name="appinfo_link_addedit_dialog_title_edit">EDIT LINK</string>
186186
<string name="appinfo_link_addedit_dialog_text">This form accepts any http or https URL. market:// links are not supported.</string>

src/com/github/andlyticsproject/console/v2/JsonParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ static List<AppInfo> parseAppInfos(String json, String accountName, boolean skip
289289
stats.setTotalDownloads(0);
290290
stats.setNumberOfErrors(0);
291291
} else {
292-
stats.setActiveInstalls(jsonAppStats.getInt("1"));
292+
stats.setActiveInstalls(jsonAppStats.optInt("1", 0));
293293
stats.setTotalDownloads(jsonAppStats.getInt("5"));
294294
stats.setNumberOfErrors(jsonAppStats.optInt("4"));
295295
}

0 commit comments

Comments
 (0)