Commit e8a71e7b authored by Andreas Kromke's avatar Andreas Kromke

v1.1.1

parent 36e3804b
......@@ -7,8 +7,8 @@ android {
buildConfigField "long", "TIMESTAMP", System.currentTimeMillis() + "L"
minSdkVersion 19
targetSdkVersion 27
versionCode 10
versionName "1.1"
versionCode 11
versionName "1.1.1"
}
buildTypes {
release {
......
......@@ -5,6 +5,11 @@
</head>
<body>
<h3>Programmänderungen</h3>
<h4>Version 1.1.1</h4>
<p>- Abstürze vermieden</p>
<h4>Version 1.1</h4>
<p>- Die Liste der geänderten oder gelöschten Dateien wird an den <i>Classical Music Scanner</i> übermittelt.</p>
......
......@@ -5,6 +5,11 @@
</head>
<body>
<h3>List of Changes</h3>
<h4>Version 1.1.1</h4>
<p>- avoid some null pointer exceptions</p>
<h4>Version 1.1</h4>
<p>- Pass list of changed or deleted files to <i>Classical Music Scanner</i>.</p>
......
Version 1.1.1
- avoid some null pointer exceptions
Version 1.1
- Pass list of changed files to <i>Classical Music Scanner</i>.
......
......@@ -199,11 +199,14 @@ public class MainActivity extends BasicActivity implements AdapterView.OnItemCli
private void initListSelection()
{
mNumOfSelectedFiles = 0;
for (boolean aMSelectedList : mSelectedList)
if (mSelectedList != null)
{
if (aMSelectedList)
for (boolean aMSelectedList : mSelectedList)
{
mNumOfSelectedFiles++;
if (aMSelectedList)
{
mNumOfSelectedFiles++;
}
}
}
}
......
......@@ -216,7 +216,11 @@ public class ID3v11Tag extends ID3v1Tag
if (id3tag.hasFrame(ID3v24Frames.FRAME_ID_TRACK))
{
frame = (ID3v24Frame) id3tag.getFrame(ID3v24Frames.FRAME_ID_TRACK);
this.track = (byte) ((FrameBodyTRCK) frame.getBody()).getTrackNo().intValue();
if (frame != null)
{
// once there was a crash in the following line, thus ask for null ptr here
this.track = (byte) ((FrameBodyTRCK) frame.getBody()).getTrackNo().intValue();
}
}
}
}
......
......@@ -7,7 +7,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.0'
classpath 'com.android.tools.build:gradle:3.3.1'
// NOTE: Do not place your application dependencies here; they belong
......
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