Skip to content

Commit

Permalink
Well duh.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaydeetay committed Sep 25, 2016
1 parent 70781eb commit bb68054
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 14 deletions.
11 changes: 3 additions & 8 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ android {
applicationId "com.google.android.stardroid"
minSdkVersion 15
targetSdkVersion 23
versionCode 1461
versionName "1.9.1"
versionCode 1471
versionName "1.9.1b"
buildConfigField 'String', 'GOOGLE_ANALYTICS_CODE', '""'
}
signingConfigs {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ public void setPhoneSensorValues(float[] rotationVector) {
// TODO(jontayler): What checks do we need for this to be valid?
// Note on some phones such as the Galaxy S4 this vector is the wrong size and needs to be
// truncated to 4.
System.arraycopy(rotationVector, 0, this.rotationVector, 0, Math.max(rotationVector.length, 4));
System.arraycopy(rotationVector, 0, this.rotationVector, 0, Math.min(rotationVector.length, 4));
useRotationVector = true;
}

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.2'
classpath 'com.android.tools.build:gradle:2.2.0'

// Specified as going here by the Analytics instructions.
classpath 'com.google.gms:google-services:2.0.0-alpha6'
Expand Down
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Wed Oct 21 11:34:03 PDT 2015
#Sat Sep 24 22:58:15 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

0 comments on commit bb68054

Please sign in to comment.