remove useless files
Project: http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/commit/87336a70 Tree: http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/tree/87336a70 Diff: http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/diff/87336a70 Branch: refs/heads/master Commit: 87336a7093226c958bdbb2431d2bc79dc40cf6c4 Parents: 3c54df1 Author: Sagar <[email protected]> Authored: Thu Nov 3 20:47:40 2016 +0530 Committer: Sagar <[email protected]> Committed: Thu Nov 3 20:47:40 2016 +0530 ---------------------------------------------------------------------- app/src/main/assets/licences.json | 132 ------------------- .../data/model/licence/LicenceContent.java | 28 ---- .../mobile/ui/licence/LicenceFragment.java | 55 -------- 3 files changed, 215 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/blob/87336a70/app/src/main/assets/licences.json ---------------------------------------------------------------------- diff --git a/app/src/main/assets/licences.json b/app/src/main/assets/licences.json deleted file mode 100644 index 8bc8d1d..0000000 --- a/app/src/main/assets/licences.json +++ /dev/null @@ -1,132 +0,0 @@ -[ - { - "name": "com.android.support:appcompat", - "version": "v7:23.3.0", - "licence": "Apache 2" - }, - { - "name": "com.android.support:cardview", - "version": "v7:23.3.0", - "licence": "Apache 2" - }, - { - "name": "com.android.support:recyclerview", - "version": "v7:23.3.0", - "licence": "Apache 2" - }, - { - "name": "com.android.support:support", - "version": "v4:23.3.0", - "licence": "Apache 2" - }, - { - "name": "com.android.support:design", - "version": ":23.3.0", - "licence": "Apache 2" - }, - { - "name": "com.squareup.retrofit2:retrofit", - "version": "2.0.2", - "licence": "Apache 2" - }, - { - "name": "com.squareup.retrofit2:adapter-rxjava", - "version": "2.0.2", - "licence": "Apache 2" - }, - { - "name": "com.squareup.okhttp3:logging-interceptor", - "version": "3.2.0", - "licence": "Apache 2" - }, - { - "name": "com.squareup.retrofit2:converter-simplexml", - "version": "2.0.2", - "licence": "Apache 2" - }, - { - "name": "com.jakewharton:butterknife", - "version": "8.0.1", - "licence": "Apache 2" - }, - { - "name": "com.jakewharton:butterknife-compiler", - "version": "8.0.1", - "licence": "Apache 2" - }, - { - "name": "io.reactivex:rxandroid", - "version": "1.2.0", - "licence": "Apache 2" - }, - { - "name": "io.reactivex:rxjava", - "version": "1.1.4", - "licence": "Apache 2" - }, - { - "name": "org.simpleframework:simple-xml", - "version": "2.7. +", - "licence": "Apache 2" - }, - { - "name": "com.github.bumptech.glide:glide", - "version": "3.6.0", - "licence": "BSD, MIT & Apache 2" - }, - { - "name": "com.caverock:androidsvg", - "version": "1.2.1", - "licence": "Apache 2" - }, - { - "name": "com.github.Raizlabs.DBFlow:dbflow-processor", - "version": "3.0.1", - "licence": "MIT" - }, - { - "name": "com.github.Raizlabs.DBFlow:dbflow-core", - "version": "3.0.1", - "licence": "MIT" - }, - { - "name": "com.github.Raizlabs.DBFlow:dbflow", - "version": "3.0.1", - "licence": "MIT" - }, - { - "name": "com.facebook.stetho:stetho", - "version": "1.3.1", - "licence": "BSD" - }, - { - "name": "com.facebook.stetho:stetho-okhttp", - "version": "3: 1.3.1", - "licence": "BSD" - }, - { - "name": "com.github.chrisbanes:PhotoView", - "version": "1.2.6", - "licence": "Apache 2" - }, - { - "name": "com.androidsupport:multidex", - "version": "1.0.0", - "licence": "Apache 2" - }, - { - "name": "com.google.code.gson:gson", - "version": "2.7", - "licence": "Apache 2" - }, - { - "name": "com.squareup.retrofit2:converter-gson", - "version": "2.0.2", - "licence": "Apache 2" - }, - { - "name": "com.anton46:stepsview", - "version": "0.0.2", - "licence": "Apache 2" - } -] \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/blob/87336a70/app/src/main/java/org/apache/taverna/mobile/data/model/licence/LicenceContent.java ---------------------------------------------------------------------- diff --git a/app/src/main/java/org/apache/taverna/mobile/data/model/licence/LicenceContent.java b/app/src/main/java/org/apache/taverna/mobile/data/model/licence/LicenceContent.java deleted file mode 100644 index 74b2d42..0000000 --- a/app/src/main/java/org/apache/taverna/mobile/data/model/licence/LicenceContent.java +++ /dev/null @@ -1,28 +0,0 @@ -package org.apache.taverna.mobile.data.model.licence; - -public class LicenceContent { - - private String name; - - private String version; - - private String licence; - - public String getName() { - return name; - } - - public String getVersion() { - return version; - } - - public String getLicence() { - return licence; - } - - @Override - public String toString() { - return name + " " + version + " " + licence; - } - -} http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/blob/87336a70/app/src/main/java/org/apache/taverna/mobile/ui/licence/LicenceFragment.java ---------------------------------------------------------------------- diff --git a/app/src/main/java/org/apache/taverna/mobile/ui/licence/LicenceFragment.java b/app/src/main/java/org/apache/taverna/mobile/ui/licence/LicenceFragment.java deleted file mode 100644 index 4bfefee..0000000 --- a/app/src/main/java/org/apache/taverna/mobile/ui/licence/LicenceFragment.java +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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.apache.taverna.mobile.ui.licence; - -import android.app.AlertDialog; -import android.app.Dialog; -import android.content.DialogInterface; -import android.os.Bundle; -import android.support.annotation.NonNull; -import android.support.v4.app.DialogFragment; -import android.view.LayoutInflater; -import android.webkit.WebView; - -import org.apache.taverna.mobile.R; - -/** - * A fragment displaying a dialog with the licence info. - */ -public class LicenceFragment extends DialogFragment { - - - public static LicenceFragment newInstance() { - - return new LicenceFragment(); - } - - @NonNull - @Override - public Dialog onCreateDialog(Bundle savedInstanceState) { - WebView view = (WebView) LayoutInflater.from(getActivity()).inflate(R.layout.fragment_licence, null); - view.loadUrl("file:///android_asset/licences.html"); - return new AlertDialog.Builder(getActivity(), R.style.Theme_AppCompat_Light_Dialog_Alert) - .setTitle(getString(R.string.title_nav_os_licences)) - .setView(view) - .setPositiveButton(android.R.string.ok, null) - .create(); - } - -}
