From 3d1320eeb9f400c7e7537ad6952a5b6e38f1a1c7 Mon Sep 17 00:00:00 2001 From: Thomas Date: Wed, 16 Dec 2020 08:42:47 +0100 Subject: [PATCH] Remove previous feature that copied id into clipboard. --- .../eu/exodus_privacy/exodusprivacy/CheckAppActivity.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app/src/main/java/org/eu/exodus_privacy/exodusprivacy/CheckAppActivity.java b/app/src/main/java/org/eu/exodus_privacy/exodusprivacy/CheckAppActivity.java index 38afc73..def0e36 100644 --- a/app/src/main/java/org/eu/exodus_privacy/exodusprivacy/CheckAppActivity.java +++ b/app/src/main/java/org/eu/exodus_privacy/exodusprivacy/CheckAppActivity.java @@ -18,9 +18,6 @@ package org.eu.exodus_privacy.exodusprivacy; */ import android.app.AlertDialog; -import android.content.ClipData; -import android.content.ClipboardManager; -import android.content.Context; import android.content.Intent; import android.net.Uri; import android.os.Bundle; @@ -110,9 +107,7 @@ public class CheckAppActivity extends AppCompatActivity implements NetworkListen dialogBuilder.setMessage(getString(R.string.app_not_analyzed)); dialogBuilder.setPositiveButton(R.string.submit, (dialog, id) -> { Uri uri; - ClipboardManager clipboard = (ClipboardManager) getSystemService(Context.CLIPBOARD_SERVICE); - ClipData clip = ClipData.newPlainText(getString(R.string.app_name), app_id); - clipboard.setPrimaryClip(clip); + //noinspection ConstantConditions if (BuildConfig.FLAVOR.equals("exodus")) { uri = Uri.parse("https://reports.exodus-privacy.eu.org/analysis/submit/#" + app_id); } else {