From 549ee790d3e52bc62565ddf92e6a556e98b5195e Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Fri, 15 Jul 2022 00:53:48 +0530 Subject: all: re-do package structure yet again --- .../autofill/oreo/ui/AutofillSmsActivity.kt | 26 ++++++++++++++++++++++ .../aps/autofill/oreo/ui/AutofillSmsActivity.kt | 26 ---------------------- 2 files changed, 26 insertions(+), 26 deletions(-) create mode 100644 app/src/free/java/app/passwordstore/autofill/oreo/ui/AutofillSmsActivity.kt delete mode 100644 app/src/free/java/dev/msfjarvis/aps/autofill/oreo/ui/AutofillSmsActivity.kt (limited to 'app/src/free/java') diff --git a/app/src/free/java/app/passwordstore/autofill/oreo/ui/AutofillSmsActivity.kt b/app/src/free/java/app/passwordstore/autofill/oreo/ui/AutofillSmsActivity.kt new file mode 100644 index 00000000..19ebfe55 --- /dev/null +++ b/app/src/free/java/app/passwordstore/autofill/oreo/ui/AutofillSmsActivity.kt @@ -0,0 +1,26 @@ +/* + * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved. + * SPDX-License-Identifier: GPL-3.0-only + */ +package app.passwordstore.autofill.oreo.ui + +import android.content.Context +import android.content.IntentSender +import androidx.annotation.RequiresApi +import androidx.appcompat.app.AppCompatActivity + +@RequiresApi(26) +@Suppress("UNUSED_PARAMETER") +class AutofillSmsActivity : AppCompatActivity() { + + companion object { + + fun shouldOfferFillFromSms(context: Context): Boolean { + return false + } + + fun makeFillOtpFromSmsIntentSender(context: Context): IntentSender { + throw NotImplementedError("Filling OTPs from SMS requires non-free dependencies") + } + } +} diff --git a/app/src/free/java/dev/msfjarvis/aps/autofill/oreo/ui/AutofillSmsActivity.kt b/app/src/free/java/dev/msfjarvis/aps/autofill/oreo/ui/AutofillSmsActivity.kt deleted file mode 100644 index 0faf3d67..00000000 --- a/app/src/free/java/dev/msfjarvis/aps/autofill/oreo/ui/AutofillSmsActivity.kt +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved. - * SPDX-License-Identifier: GPL-3.0-only - */ -package dev.msfjarvis.aps.autofill.oreo.ui - -import android.content.Context -import android.content.IntentSender -import androidx.annotation.RequiresApi -import androidx.appcompat.app.AppCompatActivity - -@RequiresApi(26) -@Suppress("UNUSED_PARAMETER") -class AutofillSmsActivity : AppCompatActivity() { - - companion object { - - fun shouldOfferFillFromSms(context: Context): Boolean { - return false - } - - fun makeFillOtpFromSmsIntentSender(context: Context): IntentSender { - throw NotImplementedError("Filling OTPs from SMS requires non-free dependencies") - } - } -} -- cgit v1.2.3