Commit bb680544 authored by John Taylor's avatar John Taylor

Well duh.

parent 70781ebb
......@@ -3,8 +3,9 @@
<component name="GradleSettings">
<option name="linkedExternalProjectsSettings">
<GradleProjectSettings>
<option name="distributionType" value="DEFAULT_WRAPPED" />
<option name="distributionType" value="LOCAL" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="gradleHome" value="$APPLICATION_HOME_DIR$/gradle/gradle-2.14.1" />
<option name="gradleJvm" value="1.8" />
<option name="modules">
<set>
......@@ -13,13 +14,7 @@
<option value="$PROJECT_DIR$/tools" />
</set>
</option>
<option name="myModules">
<set>
<option value="$PROJECT_DIR$" />
<option value="$PROJECT_DIR$/app" />
<option value="$PROJECT_DIR$/tools" />
</set>
</option>
<option name="resolveModulePerSourceSet" value="false" />
</GradleProjectSettings>
</option>
</component>
......
......@@ -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 {
......
......@@ -188,7 +188,7 @@ public class AstronomerModelImpl implements AstronomerModel {
// 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;
}
......
......@@ -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'
......
#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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment