From 17103145ba5073475c222ef49eaa16369869a69b Mon Sep 17 00:00:00 2001 From: Michael Huebler Date: Mon, 26 Oct 2020 19:08:08 +0100 Subject: [PATCH] Removed unused imports. --- .../MatchesRecyclerViewAdapter.java | 1 - .../microgreadout/MicroGDbOnDisk.java | 18 ------------------ 2 files changed, 19 deletions(-) diff --git a/corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/matchentries/MatchesRecyclerViewAdapter.java b/corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/matchentries/MatchesRecyclerViewAdapter.java index 2bd7107..cb5348c 100644 --- a/corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/matchentries/MatchesRecyclerViewAdapter.java +++ b/corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/matchentries/MatchesRecyclerViewAdapter.java @@ -41,7 +41,6 @@ import com.github.mikephil.charting.data.LineDataSet; import com.github.mikephil.charting.formatter.ValueFormatter; -import org.tosl.coronawarncompanion.CWCApplication; import org.tosl.coronawarncompanion.Country; import org.tosl.coronawarncompanion.R; import org.tosl.coronawarncompanion.diagnosiskeys.DiagnosisKey; diff --git a/corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/microgreadout/MicroGDbOnDisk.java b/corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/microgreadout/MicroGDbOnDisk.java index 12118e2..ede38f1 100644 --- a/corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/microgreadout/MicroGDbOnDisk.java +++ b/corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/microgreadout/MicroGDbOnDisk.java @@ -1,43 +1,25 @@ package org.tosl.coronawarncompanion.microgreadout; -import android.Manifest; import android.annotation.SuppressLint; import android.app.Activity; import android.content.Context; -import android.content.pm.PackageManager; -import android.content.res.AssetManager; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; -import android.os.Environment; import android.util.Log; -import androidx.core.app.ActivityCompat; -import androidx.core.content.ContextCompat; - import com.google.protobuf.ByteString; -import org.iq80.leveldb.CompressionType; -import org.iq80.leveldb.DBFactory; -import org.iq80.leveldb.Options; -import org.iq80.leveldb.impl.Iq80DBFactory; -import org.tosl.coronawarncompanion.CWCApplication; import org.tosl.coronawarncompanion.gmsreadout.ContactRecordsProtos; import org.tosl.coronawarncompanion.rpis.RpiList; import java.io.File; -import java.io.FileFilter; -import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; -import java.util.Arrays; -import java.util.regex.Pattern; import static org.tosl.coronawarncompanion.gmsreadout.Sudo.sudo; import static org.tosl.coronawarncompanion.tools.Utils.byteArrayToHexString; import static org.tosl.coronawarncompanion.tools.Utils.getDaysFromMillis; -import static org.tosl.coronawarncompanion.tools.Utils.getDaysFromSeconds; -import static org.tosl.coronawarncompanion.tools.Utils.hexStringToByteArray; public class MicroGDbOnDisk {