Skip to content

Commit 092f917

Browse files
committed
Remove License#contentUri
It seems to not be used anywhere.
1 parent b9cd551 commit 092f917

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

  • app/src/main/java/org/schabi/newpipe/about
Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package org.schabi.newpipe.about
22

3-
import android.net.Uri
43
import android.os.Parcelable
54
import kotlinx.android.parcel.Parcelize
65
import java.io.Serializable
@@ -9,11 +8,4 @@ import java.io.Serializable
98
* Class for storing information about a software license.
109
*/
1110
@Parcelize
12-
class License(val name: String, val abbreviation: String, val filename: String) : Parcelable, Serializable {
13-
val contentUri: Uri
14-
get() = Uri.Builder()
15-
.scheme("file")
16-
.path("/android_asset")
17-
.appendPath(filename)
18-
.build()
19-
}
11+
class License(val name: String, val abbreviation: String, val filename: String) : Parcelable, Serializable

0 commit comments

Comments
 (0)