Skip to content

Commit

Permalink
fix crash on self map intent
Browse files Browse the repository at this point in the history
  • Loading branch information
jklmnn committed May 6, 2018
1 parent ae1952a commit 8ba186c
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ apply plugin: 'com.android.application'

android {
compileSdkVersion 26
buildToolsVersion '27.0.1'
buildToolsVersion '27.0.3'

defaultConfig {
applicationId "de.jkliemann.parkendd"
minSdkVersion 14
targetSdkVersion 26
versionCode 29
versionName "1.2.4"
versionCode 30
versionName "1.2.5"
}
buildTypes {
release {
Expand Down
4 changes: 3 additions & 1 deletion app/src/main/java/de/jkliemann/parkendd/PlaceActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ protected void onCreate(Bundle savedInstanceState) {
}
}
TextView tv = (TextView) findViewById(R.id.comment);
tv.setText("");
if (tv != null) {
tv.setText("");
}
if (intent.ACTION_VIEW.equals(intent.getAction())) {
data = intent.getData();
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<resources tools:ignore="MissingTranslation" xmlns:tools="http://schemas.android.com/tools">
<!--Meta-->
<string name="app_name" translatable="false">ParkenDD</string>
<string name="version" translatable="false">1.2.4</string>
<string name="version" translatable="false">1.2.5</string>
<!--actions-->
<string name="action_settings">Settings</string>
<string name="action_forecast">Forecast</string>
Expand Down
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ buildscript {
url 'https://maven.google.com/'
name 'Google'
}
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
classpath 'com.android.tools.build:gradle:3.1.2'
classpath 'com.github.ben-manes:gradle-versions-plugin:0.17.0'

// NOTE: Do not place your application dependencies here; they belong
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 @@
#Fri Jan 26 21:10:15 CET 2018
#Sun May 06 14:02:01 CEST 2018
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip

0 comments on commit 8ba186c

Please sign in to comment.