Skip to content

Commit

Permalink
Handling absence of profile name on start
Browse files Browse the repository at this point in the history
  • Loading branch information
mendhak committed Mar 17, 2016
1 parent 9417773 commit 3900ae2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gpslogger/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
android:icon="@drawable/gpsloggericon3"
android:label="@string/app_name"
android:theme="@style/AppTheme"
android:name=".common.AppSettings"
android:name="com.mendhak.gpslogger.common.AppSettings"
>
<meta-data
android:name="com.google.android.gms.version"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,10 @@ public boolean accept(File file, String fileName) {
}
});

if(propertyFiles == null){
return;
}

for(File propertyFile: propertyFiles){

String name = propertyFile.getName();
Expand Down

0 comments on commit 3900ae2

Please sign in to comment.