From 8a1d4a7f5b1b2c205178675c43c250a4bd9a985d Mon Sep 17 00:00:00 2001 From: srowen Date: Thu, 19 Dec 2013 14:47:49 +0000 Subject: [PATCH] Remove Honeycomb-specific integration as Android >= 3 and < 4 is 0.1% of devices git-svn-id: https://zxing.googlecode.com/svn/trunk@2998 59b500cc-1b3d-0410-9834-0bbf25fbcc57 --- android-integration/pom.xml | 21 --------- .../android/IntentIntegratorV30.java | 44 ------------------- 2 files changed, 65 deletions(-) delete mode 100644 android-integration/src/main/java/com/google/zxing/integration/android/IntentIntegratorV30.java diff --git a/android-integration/pom.xml b/android-integration/pom.xml index 5c2ec6313..26a1acfa5 100644 --- a/android-integration/pom.xml +++ b/android-integration/pom.xml @@ -38,27 +38,6 @@ - - org.apache.maven.plugins - maven-jar-plugin - - - **/IntentIntegratorV30* - - - - - honeycomb - package - - jar - - - honeycomb - - - - org.apache.maven.plugins maven-dependency-plugin diff --git a/android-integration/src/main/java/com/google/zxing/integration/android/IntentIntegratorV30.java b/android-integration/src/main/java/com/google/zxing/integration/android/IntentIntegratorV30.java deleted file mode 100644 index 20d0a590b..000000000 --- a/android-integration/src/main/java/com/google/zxing/integration/android/IntentIntegratorV30.java +++ /dev/null @@ -1,44 +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 com.google.zxing.integration.android; - -import android.app.Fragment; -import android.content.Intent; - -/** - * IntentIntegrator for Android version 3.0 and beyond. - * - * @author Lachezar Dobrev - */ -public final class IntentIntegratorV30 extends IntentIntegrator { - - private final Fragment fragment; - - /** - * @param fragment Fragment to handle activity response. - */ - public IntentIntegratorV30(Fragment fragment) { - super(fragment.getActivity()); - this.fragment = fragment; - } - - @Override - protected void startActivityForResult(Intent intent, int code) { - fragment.startActivityForResult(intent, code); - } - -} \ No newline at end of file