Merge pull request #22 from Affectiva/3.1.1

3.1.1
This commit is contained in:
Andy Dennie 2016-09-08 17:47:34 -04:00 committed by GitHub
commit d709f1675b
5 changed files with 9 additions and 16 deletions

View file

@ -8,8 +8,8 @@ android {
applicationId "com.affectiva.affdexme" applicationId "com.affectiva.affdexme"
minSdkVersion 16 minSdkVersion 16
targetSdkVersion 23 targetSdkVersion 23
versionCode 494 versionCode 683
versionName "3.1" versionName "3.1.1"
setProperty("archivesBaseName", "AffdexMe-$versionName-$versionCode") setProperty("archivesBaseName", "AffdexMe-$versionName-$versionCode")
} }
buildTypes { buildTypes {
@ -37,7 +37,7 @@ android {
dependencies { dependencies {
//include the Affdex SDK //include the Affdex SDK
compile('com.affectiva.android:affdexsdk:3.1') compile('com.affectiva.android:affdexsdk:3.1.1')
//include project dependencies //include project dependencies
compile 'com.android.support:support-v4:23.1.1' compile 'com.android.support:support-v4:23.1.1'

View file

@ -1,4 +0,0 @@
Place license file and Classifiers folder here.
license.txt
Classifiers/v_9/*

View file

@ -443,9 +443,6 @@ public class MainActivity extends AppCompatActivity
* that view will be painted with what the camera sees. * that view will be painted with what the camera sees.
*/ */
detector = new CameraDetector(this, cameraType, cameraView, (multiFaceModeEnabled ? MAX_SUPPORTED_FACES : 1), Detector.FaceDetectorMode.LARGE_FACES); detector = new CameraDetector(this, cameraType, cameraView, (multiFaceModeEnabled ? MAX_SUPPORTED_FACES : 1), Detector.FaceDetectorMode.LARGE_FACES);
// update the license path here if you name your file something else
detector.setLicensePath("license.txt");
detector.setImageListener(this); detector.setImageListener(this);
detector.setFaceListener(this); detector.setFaceListener(this);
detector.setOnCameraEventListener(this); detector.setOnCameraEventListener(this);
@ -513,10 +510,10 @@ public class MainActivity extends AppCompatActivity
} }
if (sharedPreferences.getBoolean("appearance", drawingView.getDrawAppearanceMarkersEnabled())) { if (sharedPreferences.getBoolean("appearance", drawingView.getDrawAppearanceMarkersEnabled())) {
detector.setDetectAllAppearance(true); detector.setDetectAllAppearances(true);
setShowAppearance(true); setShowAppearance(true);
} else { } else {
detector.setDetectAllAppearance(false); detector.setDetectAllAppearances(false);
setShowAppearance(false); setShowAppearance(false);
} }
@ -884,7 +881,7 @@ public class MainActivity extends AppCompatActivity
detector.setDetectAllEmotions(false); detector.setDetectAllEmotions(false);
detector.setDetectAllExpressions(false); detector.setDetectAllExpressions(false);
detector.setDetectAllAppearance(false); detector.setDetectAllAppearances(false);
detector.setDetectAllEmojis(false); detector.setDetectAllEmojis(false);
} }

View file

@ -5,7 +5,7 @@ buildscript {
jcenter() jcenter()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:2.1.2' classpath 'com.android.tools.build:gradle:2.1.3'
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files // in the individual module build.gradle files

View file

@ -1,6 +1,6 @@
#Fri May 13 11:17:14 EDT 2016 #Thu Aug 18 18:52:23 EDT 2016
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip