replace deprecated calls to setAllAppearance with setAllAppearances

updated gradle version while I was at it, at Android Studio's suggestion.
This commit is contained in:
Andy Dennie 2016-08-18 18:57:29 -04:00
parent 5daeff53ba
commit 9ef453c169
3 changed files with 6 additions and 6 deletions

View file

@ -510,10 +510,10 @@ public class MainActivity extends AppCompatActivity
}
if (sharedPreferences.getBoolean("appearance", drawingView.getDrawAppearanceMarkersEnabled())) {
detector.setDetectAllAppearance(true);
detector.setDetectAllAppearances(true);
setShowAppearance(true);
} else {
detector.setDetectAllAppearance(false);
detector.setDetectAllAppearances(false);
setShowAppearance(false);
}
@ -881,7 +881,7 @@ public class MainActivity extends AppCompatActivity
detector.setDetectAllEmotions(false);
detector.setDetectAllExpressions(false);
detector.setDetectAllAppearance(false);
detector.setDetectAllAppearances(false);
detector.setDetectAllEmojis(false);
}

View file

@ -5,7 +5,7 @@ buildscript {
jcenter()
}
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
// 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
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
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