From c1b112c57dc08b1b7da6d04f768e6ae2d0b04eb4 Mon Sep 17 00:00:00 2001 From: tibbi Date: Wed, 8 Jun 2016 20:50:42 +0200 Subject: [PATCH] remove Exoplayer --- app/build.gradle | 1 - .../gallery/activities/LicenseActivity.java | 5 ----- app/src/main/res/layout/activity_license.xml | 14 -------------- app/src/main/res/values/strings.xml | 3 --- 4 files changed, 23 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 79571d8af..818c6870b 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -34,7 +34,6 @@ dependencies { compile 'com.github.bumptech.glide:glide:3.7.0' compile 'com.davemorrissey.labs:subsampling-scale-image-view:3.5.0' compile 'com.jakewharton:butterknife:8.0.1' - compile 'com.google.android.exoplayer:exoplayer:r1.5.8' apt 'com.jakewharton:butterknife-compiler:8.0.1' } diff --git a/app/src/main/java/com/simplemobiletools/gallery/activities/LicenseActivity.java b/app/src/main/java/com/simplemobiletools/gallery/activities/LicenseActivity.java index 1a3185e1f..86f3ecd03 100644 --- a/app/src/main/java/com/simplemobiletools/gallery/activities/LicenseActivity.java +++ b/app/src/main/java/com/simplemobiletools/gallery/activities/LicenseActivity.java @@ -28,11 +28,6 @@ public class LicenseActivity extends AppCompatActivity { openUrl(R.string.subsampling_url); } - @OnClick(R.id.license_exoplayer_title) - public void exoplayerClicked() { - openUrl(R.string.exoplayer_url); - } - private void openUrl(int id) { final String url = getResources().getString(id); final Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(url)); diff --git a/app/src/main/res/layout/activity_license.xml b/app/src/main/res/layout/activity_license.xml index b774b0007..ad064c85f 100644 --- a/app/src/main/res/layout/activity_license.xml +++ b/app/src/main/res/layout/activity_license.xml @@ -59,19 +59,5 @@ android:layout_height="wrap_content" android:text="@string/glide_text"/> - - - - diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 2cc03dcc7..8238c491b 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -51,8 +51,5 @@ Glide (image loading and caching) Copyright 2014 Google, Inc. All rights reserved.\n\nRedistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY GOOGLE, INC. ``AS IS\'\' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GOOGLE, INC. OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. https://github.com/bumptech/glide - ExoPlayer (playing videos) - Copyright 2016 Google\n\nLicensed 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\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless 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. - https://github.com/google/ExoPlayer