From cb3ca37db9c5c3da05df804979e99628fff6f7b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Sch=C3=BCrmann?= Date: Mon, 27 Jan 2014 14:18:25 +0100 Subject: New Gradle project structure --- .../keychain/util/IntentIntegratorSupportV4.java | 47 ---------------------- 1 file changed, 47 deletions(-) delete mode 100644 OpenPGP-Keychain/src/org/sufficientlysecure/keychain/util/IntentIntegratorSupportV4.java (limited to 'OpenPGP-Keychain/src/org/sufficientlysecure/keychain/util/IntentIntegratorSupportV4.java') diff --git a/OpenPGP-Keychain/src/org/sufficientlysecure/keychain/util/IntentIntegratorSupportV4.java b/OpenPGP-Keychain/src/org/sufficientlysecure/keychain/util/IntentIntegratorSupportV4.java deleted file mode 100644 index a43c03e3e..000000000 --- a/OpenPGP-Keychain/src/org/sufficientlysecure/keychain/util/IntentIntegratorSupportV4.java +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright 2012 ZXing authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.sufficientlysecure.keychain.util; - -import android.content.Intent; -import android.support.v4.app.Fragment; - -import com.google.zxing.integration.android.IntentIntegrator; - -/** - * IntentIntegrator for the V4 Android compatibility package. - * - * @author Lachezar Dobrev - */ -public final class IntentIntegratorSupportV4 extends IntentIntegrator { - - private final Fragment fragment; - - /** - * @param fragment - * Fragment to handle activity response. - */ - public IntentIntegratorSupportV4(Fragment fragment) { - super(fragment.getActivity()); - this.fragment = fragment; - } - - @Override - protected void startActivityForResult(Intent intent, int code) { - fragment.startActivityForResult(intent, code); - } - -} -- cgit v1.2.3