Skip to content

Commit

Permalink
Release 1.6.18
Browse files Browse the repository at this point in the history
  • Loading branch information
wangzhzh committed Oct 11, 2016
1 parent 543f62e commit 1ae7b16
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion SensorsAnalyticsSDK/SensorsAnalyticsSDK/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apply plugin: 'com.android.library'
apply plugin: 'com.github.dcendents.android-maven'
apply plugin: 'com.jfrog.bintray'

version = "1.6.17"
version = "1.6.18"

android {
compileSdkVersion 21
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1253,11 +1253,13 @@ public void onActivityStopped(Activity activity) {
synchronized (startedActivityCount) {
startedActivityCount = startedActivityCount - 1;

if (startedActivityCount == 0) {
try {
track("$AppEnd");
} catch (Exception e) {
Log.w(LOGTAG, e);
if (mAutoTrack) {
if (startedActivityCount == 0) {
try {
track("$AppEnd");
} catch (Exception e) {
Log.w(LOGTAG, e);
}
}
}
}
Expand Down Expand Up @@ -1401,7 +1403,7 @@ private static void mergeJSONObject(final JSONObject source, JSONObject dest)
static final int VTRACK_SUPPORTED_MIN_API = 16;

// SDK版本
static final String VERSION = "1.6.17";
static final String VERSION = "1.6.18";

static Boolean ENABLE_LOG = false;

Expand Down

0 comments on commit 1ae7b16

Please sign in to comment.