From 092f9170cc8626c8329f4be2f9726421e4a4689f Mon Sep 17 00:00:00 2001 From: mhmdanas <6daf084a-8eaf-40fb-86c7-8500077c3b69@anonaddy.me> Date: Mon, 8 Feb 2021 19:54:30 +0300 Subject: [PATCH] Remove License#contentUri It seems to not be used anywhere. --- app/src/main/java/org/schabi/newpipe/about/License.kt | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/app/src/main/java/org/schabi/newpipe/about/License.kt b/app/src/main/java/org/schabi/newpipe/about/License.kt index ed0c9927f..b2c5d44a2 100644 --- a/app/src/main/java/org/schabi/newpipe/about/License.kt +++ b/app/src/main/java/org/schabi/newpipe/about/License.kt @@ -1,6 +1,5 @@ package org.schabi.newpipe.about -import android.net.Uri import android.os.Parcelable import kotlinx.android.parcel.Parcelize import java.io.Serializable @@ -9,11 +8,4 @@ import java.io.Serializable * Class for storing information about a software license. */ @Parcelize -class License(val name: String, val abbreviation: String, val filename: String) : Parcelable, Serializable { - val contentUri: Uri - get() = Uri.Builder() - .scheme("file") - .path("/android_asset") - .appendPath(filename) - .build() -} +class License(val name: String, val abbreviation: String, val filename: String) : Parcelable, Serializable